#2B387C#2B387C

#2B387C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.116 H 271.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2B387C
RGBrgb(43, 56, 124)
HSLhsl(230, 49%, 33%)
HSVhsv(230, 65%, 49%)
CMYKcmyk(65.3%, 54.8%, 0%, 51.4%)
CIE-LABlab(26.15, 17.94, -40.40)
CIE-LCHlch(26.15, 44.20, 293.94°)
OKLaboklab(37.02% 0.003 -0.1159)
OKLCHoklch(37.02% 0.116 271.5)
XYZxyz(6.0473, 4.7967, 19.6720)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B387C #7C6F2B
analogous
#2B617C #2B387C #462B7C
triadic
#2B387C #7C2B38 #387C2B
tetradic
#2B387C #7C2B61 #7C6F2B #2B7C46
square
#2B387C #7C2B61 #7C6F2B #2B7C46
split-complementary
#2B387C #7C462B #617C2B
monochromatic
#0B0F21 #1B234F #2B387C #3B4DA9 #5B6CC6

Accessibility & contrast

On white

10.72
#2B387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B387C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B387C#FFFFFF#000000##FFFFFF
##2B387C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b387c;
/* rgb */ color: rgb(43, 56, 124);
/* oklch */ color: oklch(37.0% 0.116 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e6ea2',
    500: '#2b387c',
    950: '#000000',
  },
}
SCSS
$custom: #2b387c;
$custom-light: #6e6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b387c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 230.37,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37015,
    "c": 0.11593,
    "h": 271.5
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2B387C
secondary
#AC9E57
accent
#C250D8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B387C

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

Preview Lab → · Contrast checker → · Palette generator →

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