#2B3D9B#2B3D9B

#2B3D9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.154 H 269.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2B3D9B
RGBrgb(43, 61, 155)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 72%, 61%)
CMYKcmyk(72.3%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.95, 26.22, -53.40)
CIE-LCHlch(29.95, 59.49, 296.15°)
OKLaboklab(40.63% -0.0004 -0.154)
OKLCHoklch(40.63% 0.154 269.8)
XYZxyz(8.5794, 6.2168, 31.7518)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D9B #9B892B
analogous
#2B759B #2B3D9B #512B9B
triadic
#2B3D9B #9B2B3D #3D9B2B
tetradic
#2B3D9B #9B2B75 #9B892B #2B9B51
square
#2B3D9B #9B2B75 #9B892B #2B9B51
split-complementary
#2B3D9B #9B512B #759B2B
monochromatic
#10173B #1E2A6B #2B3D9B #3B51C9 #6B7CD6

Accessibility & contrast

On white

9.36
#2B3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D9B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D9B#FFFFFF#000000##FFFFFF
##2B3D9B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3d9b;
/* rgb */ color: rgb(43, 61, 155);
/* oklch */ color: oklch(40.6% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#7472b9',
    500: '#2b3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d9b;
$custom-light: #7472b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d9b",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 230.357,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4063,
    "c": 0.15405,
    "h": 269.8
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#2B3D9B
secondary
#BCAE65
accent
#C748E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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