#2A3263#2A3263

#2A3263 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.086 H 273.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2A3263
RGBrgb(42, 50, 99)
HSLhsl(232, 40%, 28%)
HSVhsv(232, 58%, 39%)
CMYKcmyk(57.6%, 49.5%, 0%, 61.2%)
CIE-LABlab(22.56, 12.59, -30.15)
CIE-LCHlch(22.56, 32.67, 292.66°)
OKLaboklab(33.72% 0.0059 -0.0858)
OKLCHoklch(33.72% 0.086 273.9)
XYZxyz(4.3469, 3.6740, 12.2821)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3263 #635B2A
analogous
#2A4E63 #2A3263 #3E2A63
triadic
#2A3263 #632A32 #32632A
tetradic
#2A3263 #632A4E #635B2A #2A633E
square
#2A3263 #632A4E #635B2A #2A633E
split-complementary
#2A3263 #633E2A #4E632A
monochromatic
#090B15 #181C38 #2A3263 #3C488E #5260B6

Accessibility & contrast

On white

12.11
#2A3263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3263
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3263#FFFFFF#000000##FFFFFF
##2A32631.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3865
Deuteranopia (green-blind)
#153462
Tritanopia (blue-blind)
#0E3D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3263;
/* rgb */ color: rgb(42, 50, 99);
/* oklch */ color: oklch(33.7% 0.086 273.9);
Tailwind
colors: {
  custom: {
    50: '#696990',
    500: '#2a3263',
    950: '#000000',
  },
}
SCSS
$custom: #2a3263;
$custom-light: #696990;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3263",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 99
  },
  "hsl": {
    "h": 231.579,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.08605,
    "h": 273.9
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#2A3263
secondary
#958C53
accent
#BF58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A3263

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A3263 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva