#2B3A89#2B3A89

#2B3A89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.132 H 270.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2B3A89
RGBrgb(43, 58, 137)
HSLhsl(230, 52%, 35%)
HSVhsv(230, 69%, 54%)
CMYKcmyk(68.6%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.70, 21.47, -46.02)
CIE-LCHlch(27.70, 50.78, 295.01°)
OKLaboklab(38.49% 0.0018 -0.1324)
OKLCHoklch(38.49% 0.132 270.8)
XYZxyz(7.0231, 5.3452, 24.3237)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A89 #897A2B
analogous
#2B6989 #2B3A89 #4B2B89
triadic
#2B3A89 #892B3A #3A892B
tetradic
#2B3A89 #892B69 #897A2B #2B894B
square
#2B3A89 #892B69 #897A2B #2B894B
split-complementary
#2B3A89 #894B2B #69892B
monochromatic
#0E132C #1C265A #2B3A89 #3A4EB8 #6172CD

Accessibility & contrast

On white

10.15
#2B3A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B3A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A89
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A89#FFFFFF#000000##FFFFFF
##2B3A891.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3a89;
/* rgb */ color: rgb(43, 58, 137);
/* oklch */ color: oklch(38.5% 0.132 270.8);
Tailwind
colors: {
  custom: {
    50: '#706fac',
    500: '#2b3a89',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a89;
$custom-light: #706fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a89",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 230.426,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.1324,
    "h": 270.8
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#2B3A89
secondary
#B3A65C
accent
#C54CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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