#2B3489#2B3489

#2B3489 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.140 H 272.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3489
RGBrgb(43, 52, 137)
HSLhsl(234, 52%, 35%)
HSVhsv(234, 69%, 54%)
CMYKcmyk(68.6%, 62%, 0%, 46.3%)
CIE-LABlab(26.08, 25.54, -48.64)
CIE-LCHlch(26.08, 54.93, 297.70°)
OKLaboklab(37.29% 0.0071 -0.1402)
OKLCHoklch(37.29% 0.14 272.9)
XYZxyz(6.7381, 4.7751, 24.2287)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3489 #89802B
analogous
#2B6389 #2B3489 #512B89
triadic
#2B3489 #892B34 #34892B
tetradic
#2B3489 #892B63 #89802B #2B8951
square
#2B3489 #892B63 #89802B #2B8951
split-complementary
#2B3489 #89512B #63892B
monochromatic
#0E112C #1C225A #2B3489 #3A46B8 #616BCD

Accessibility & contrast

On white

10.74
#2B3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3489
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3489#FFFFFF#000000##FFFFFF
##2B34891.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3489;
/* rgb */ color: rgb(43, 52, 137);
/* oklch */ color: oklch(37.3% 0.140 272.9);
Tailwind
colors: {
  custom: {
    50: '#716bac',
    500: '#2b3489',
    950: '#000000',
  },
}
SCSS
$custom: #2b3489;
$custom-light: #716bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3489",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 234.255,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.14035,
    "h": 272.9
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#2B3489
secondary
#B3AB5C
accent
#CE4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3489

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

Preview Lab → · Contrast checker → · Palette generator →

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