#2B3788#2B3788

#2B3788 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.135 H 271.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B3788
RGBrgb(43, 55, 136)
HSLhsl(232, 52%, 35%)
HSVhsv(232, 68%, 53%)
CMYKcmyk(68.4%, 59.6%, 0%, 46.7%)
CIE-LABlab(26.80, 23.14, -46.85)
CIE-LCHlch(26.80, 52.25, 296.28°)
OKLaboklab(37.8% 0.0045 -0.1349)
OKLCHoklch(37.8% 0.135 271.9)
XYZxyz(6.8049, 5.0229, 23.8987)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3788 #887C2B
analogous
#2B6588 #2B3788 #4D2B88
triadic
#2B3788 #882B37 #37882B
tetradic
#2B3788 #882B65 #887C2B #2B884D
square
#2B3788 #882B65 #887C2B #2B884D
split-complementary
#2B3788 #884D2B #65882B
monochromatic
#0E112B #1C245A #2B3788 #3A4AB6 #616ECD

Accessibility & contrast

On white

10.47
#2B3788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B3788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3788
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3788#FFFFFF#000000##FFFFFF
##2B37881.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3788;
/* rgb */ color: rgb(43, 55, 136);
/* oklch */ color: oklch(37.8% 0.135 271.9);
Tailwind
colors: {
  custom: {
    50: '#706dab',
    500: '#2b3788',
    950: '#000000',
  },
}
SCSS
$custom: #2b3788;
$custom-light: #706dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3788",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 232.258,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.13496,
    "h": 271.9
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#2B3788
secondary
#B3A85C
accent
#C94CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3788

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

Preview Lab → · Contrast checker → · Palette generator →

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