#2B3D8A#2B3D8A

#2B3D8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 269.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B3D8A
RGBrgb(43, 61, 138)
HSLhsl(229, 52%, 35%)
HSVhsv(229, 69%, 54%)
CMYKcmyk(68.8%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.60, 19.80, -45.16)
CIE-LCHlch(28.60, 49.31, 293.67°)
OKLaboklab(39.2% -0.001 -0.1298)
OKLCHoklch(39.2% 0.13 269.6)
XYZxyz(7.2509, 5.6854, 24.7551)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D8A #8A782B
analogous
#2B6C8A #2B3D8A #492B8A
triadic
#2B3D8A #8A2B3D #3D8A2B
tetradic
#2B3D8A #8A2B6C #8A782B #2B8A49
square
#2B3D8A #8A2B6C #8A782B #2B8A49
split-complementary
#2B3D8A #8A492B #6C8A2B
monochromatic
#0E142D #1C285B #2B3D8A #3A52B9 #6176CE

Accessibility & contrast

On white

9.83
#2B3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D8A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D8A#FFFFFF#000000##FFFFFF
##2B3D8A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3d8a;
/* rgb */ color: rgb(43, 61, 138);
/* oklch */ color: oklch(39.2% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#2b3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d8a;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d8a",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 228.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.12985,
    "h": 269.6
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#2B3D8A
secondary
#B4A35D
accent
#C14CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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