#2B3588#2B3588

#2B3588 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.138 H 272.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2B3588
RGBrgb(43, 53, 136)
HSLhsl(234, 52%, 35%)
HSVhsv(234, 68%, 53%)
CMYKcmyk(68.4%, 61%, 0%, 46.7%)
CIE-LABlab(26.26, 24.49, -47.72)
CIE-LCHlch(26.26, 53.64, 297.17°)
OKLaboklab(37.4% 0.0063 -0.1375)
OKLCHoklch(37.4% 0.138 272.6)
XYZxyz(6.7118, 4.8368, 23.8677)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3588 #887E2B
analogous
#2B6488 #2B3588 #4F2B88
triadic
#2B3588 #882B35 #35882B
tetradic
#2B3588 #882B64 #887E2B #2B884F
square
#2B3588 #882B64 #887E2B #2B884F
split-complementary
#2B3588 #884F2B #64882B
monochromatic
#0E112B #1C235A #2B3588 #3A47B6 #616CCD

Accessibility & contrast

On white

10.67
#2B3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3588
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3588#FFFFFF#000000##FFFFFF
##2B35881.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3588;
/* rgb */ color: rgb(43, 53, 136);
/* oklch */ color: oklch(37.4% 0.138 272.6);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2b3588',
    950: '#000000',
  },
}
SCSS
$custom: #2b3588;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3588",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 233.548,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.374,
    "c": 0.13761,
    "h": 272.6
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#2B3588
secondary
#B3AA5C
accent
#CC4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3588

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

Preview Lab → · Contrast checker → · Palette generator →

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