#2B3988#2B3988

#2B3988 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.132 H 271.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2B3988
RGBrgb(43, 57, 136)
HSLhsl(231, 52%, 35%)
HSVhsv(231, 68%, 53%)
CMYKcmyk(68.4%, 58.1%, 0%, 46.7%)
CIE-LABlab(27.34, 21.77, -45.97)
CIE-LCHlch(27.34, 50.86, 295.34°)
OKLaboklab(38.2% 0.0027 -0.1323)
OKLCHoklch(38.2% 0.132 271.2)
XYZxyz(6.9018, 5.2168, 23.9310)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3988 #887A2B
analogous
#2B6788 #2B3988 #4C2B88
triadic
#2B3988 #882B39 #39882B
tetradic
#2B3988 #882B67 #887A2B #2B884C
square
#2B3988 #882B67 #887A2B #2B884C
split-complementary
#2B3988 #884C2B #67882B
monochromatic
#0E122B #1C265A #2B3988 #3A4CB6 #6171CD

Accessibility & contrast

On white

10.28
#2B3988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B3988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3988
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3988#FFFFFF#000000##FFFFFF
##2B39881.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3988;
/* rgb */ color: rgb(43, 57, 136);
/* oklch */ color: oklch(38.2% 0.132 271.2);
Tailwind
colors: {
  custom: {
    50: '#706fab',
    500: '#2b3988',
    950: '#000000',
  },
}
SCSS
$custom: #2b3988;
$custom-light: #706fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3988",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 230.968,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38204,
    "c": 0.13229,
    "h": 271.2
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3988

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

Preview Lab → · Contrast checker → · Palette generator →

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