#2B3D89#2B3D89

#2B3D89 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.128 H 269.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2B3D89
RGBrgb(43, 61, 137)
HSLhsl(229, 52%, 35%)
HSVhsv(229, 69%, 54%)
CMYKcmyk(68.6%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.53, 19.42, -44.67)
CIE-LCHlch(28.53, 48.70, 293.50°)
OKLaboklab(39.12% -0.001 -0.1284)
OKLCHoklch(39.12% 0.128 269.5)
XYZxyz(7.1788, 5.6565, 24.3756)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D89 #89772B
analogous
#2B6C89 #2B3D89 #482B89
triadic
#2B3D89 #892B3D #3D892B
tetradic
#2B3D89 #892B6C #89772B #2B8948
square
#2B3D89 #892B6C #89772B #2B8948
split-complementary
#2B3D89 #89482B #6C892B
monochromatic
#0E142C #1C285A #2B3D89 #3A52B8 #6176CD

Accessibility & contrast

On white

9.85
#2B3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D89
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D89#FFFFFF#000000##FFFFFF
##2B3D891.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3d89;
/* rgb */ color: rgb(43, 61, 137);
/* oklch */ color: oklch(39.1% 0.128 269.5);
Tailwind
colors: {
  custom: {
    50: '#7072ac',
    500: '#2b3d89',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d89;
$custom-light: #7072ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d89",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 228.511,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.12838,
    "h": 269.5
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#2B3D89
secondary
#B3A35C
accent
#C04CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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