#2B3B89#2B3B89

#2B3B89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.131 H 270.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2B3B89
RGBrgb(43, 59, 137)
HSLhsl(230, 52%, 35%)
HSVhsv(230, 69%, 54%)
CMYKcmyk(68.6%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.97, 20.79, -45.57)
CIE-LCHlch(27.97, 50.08, 294.52°)
OKLaboklab(38.7% 0.0009 -0.1311)
OKLCHoklch(38.7% 0.131 270.4)
XYZxyz(7.0741, 5.4470, 24.3406)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B89 #89792B
analogous
#2B6A89 #2B3B89 #4A2B89
triadic
#2B3B89 #892B3B #3B892B
tetradic
#2B3B89 #892B6A #89792B #2B894A
square
#2B3B89 #892B6A #89792B #2B894A
split-complementary
#2B3B89 #894A2B #6A892B
monochromatic
#0E132C #1C275A #2B3B89 #3A4FB8 #6173CD

Accessibility & contrast

On white

10.05
#2B3B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B89
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B89#FFFFFF#000000##FFFFFF
##2B3B891.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3b89;
/* rgb */ color: rgb(43, 59, 137);
/* oklch */ color: oklch(38.7% 0.131 270.4);
Tailwind
colors: {
  custom: {
    50: '#7070ac',
    500: '#2b3b89',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b89;
$custom-light: #7070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b89",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 229.787,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.13107,
    "h": 270.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#2B3B89
secondary
#B3A55C
accent
#C34CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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