#2B3E9B#2B3E9B

#2B3E9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.153 H 269.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2B3E9B
RGBrgb(43, 62, 155)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 72%, 61%)
CMYKcmyk(72.3%, 60%, 0%, 39.2%)
CIE-LABlab(30.22, 25.55, -52.97)
CIE-LCHlch(30.22, 58.81, 295.75°)
OKLaboklab(40.83% -0.0012 -0.1528)
OKLCHoklch(40.83% 0.153 269.5)
XYZxyz(8.6333, 6.3245, 31.7698)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E9B #9B882B
analogous
#2B769B #2B3E9B #502B9B
triadic
#2B3E9B #9B2B3E #3E9B2B
tetradic
#2B3E9B #9B2B76 #9B882B #2B9B50
square
#2B3E9B #9B2B76 #9B882B #2B9B50
split-complementary
#2B3E9B #9B502B #769B2B
monochromatic
#10183B #1E2B6B #2B3E9B #3B53C9 #6B7DD6

Accessibility & contrast

On white

9.27
#2B3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E9B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E9B#FFFFFF#000000##FFFFFF
##2B3E9B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.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: #2b3e9b;
/* rgb */ color: rgb(43, 62, 155);
/* oklch */ color: oklch(40.8% 0.153 269.5);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2b3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e9b;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e9b",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 229.821,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.15278,
    "h": 269.5
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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