#2B387E#2B387E

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

Color values

HEX#2B387E
RGBrgb(43, 56, 126)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 66%, 49%)
CMYKcmyk(65.9%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.30, 18.69, -41.41)
CIE-LCHlch(26.30, 45.44, 294.29°)
OKLaboklab(37.18% 0.0031 -0.1189)
OKLCHoklch(37.18% 0.119 271.5)
XYZxyz(6.1751, 4.8478, 20.3449)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B387E #7E712B
analogous
#2B617E #2B387E #472B7E
triadic
#2B387E #7E2B38 #387E2B
tetradic
#2B387E #7E2B61 #7E712B #2B7E47
square
#2B387E #7E2B61 #7E712B #2B7E47
split-complementary
#2B387E #7E472B #617E2B
monochromatic
#0C0F23 #1B2450 #2B387E #3B4CAC #5C6DC7

Accessibility & contrast

On white

10.66
#2B387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B387E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B387E#FFFFFF#000000##FFFFFF
##2B387E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b387e;
/* rgb */ color: rgb(43, 56, 126);
/* oklch */ color: oklch(37.2% 0.119 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e6ea4',
    500: '#2b387e',
    950: '#000000',
  },
}
SCSS
$custom: #2b387e;
$custom-light: #6e6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b387e",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 230.602,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37175,
    "c": 0.11893,
    "h": 271.5
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#2B387E
secondary
#ADA058
accent
#C34FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B387E

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

Preview Lab → · Contrast checker → · Palette generator →

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