#2B3E81#2B3E81

#2B3E81 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.7% C 0.115 H 268.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2B3E81
RGBrgb(43, 62, 129)
HSLhsl(227, 50%, 34%)
HSVhsv(227, 67%, 51%)
CMYKcmyk(66.7%, 51.9%, 0%, 49.4%)
CIE-LABlab(28.23, 15.70, -40.17)
CIE-LCHlch(28.23, 43.13, 291.34°)
OKLaboklab(38.71% -0.0027 -0.1151)
OKLCHoklch(38.71% 0.115 268.6)
XYZxyz(6.6800, 5.5432, 21.4825)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E81 #816E2B
analogous
#2B6981 #2B3E81 #432B81
triadic
#2B3E81 #812B3E #3E812B
tetradic
#2B3E81 #812B69 #816E2B #2B8143
square
#2B3E81 #812B69 #816E2B #2B8143
split-complementary
#2B3E81 #81432B #69812B
monochromatic
#0C1225 #1C2853 #2B3E81 #3A54AF #5D75C9

Accessibility & contrast

On white

9.96
#2B3E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B3E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E81
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E81#FFFFFF#000000##FFFFFF
##2B3E811.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184783
Deuteranopia (green-blind)
#013F80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3e81;
/* rgb */ color: rgb(43, 62, 129);
/* oklch */ color: oklch(38.7% 0.115 268.6);
Tailwind
colors: {
  custom: {
    50: '#6e72a6',
    500: '#2b3e81',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e81;
$custom-light: #6e72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e81",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 226.744,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.11518,
    "h": 268.6
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#2B3E81
secondary
#AF9C59
accent
#BB4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B3E81

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

Preview Lab → · Contrast checker → · Palette generator →

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