#2B377D#2B377D

#2B377D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.119 H 272.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2B377D
RGBrgb(43, 55, 125)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 66%, 49%)
CMYKcmyk(65.6%, 56%, 0%, 51%)
CIE-LABlab(25.94, 19.00, -41.36)
CIE-LCHlch(25.94, 45.52, 294.68°)
OKLaboklab(36.88% 0.0041 -0.1187)
OKLCHoklch(36.88% 0.119 272)
XYZxyz(6.0629, 4.7261, 19.9908)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B377D #7D712B
analogous
#2B607D #2B377D #482B7D
triadic
#2B377D #7D2B37 #377D2B
tetradic
#2B377D #7D2B60 #7D712B #2B7D48
square
#2B377D #7D2B60 #7D712B #2B7D48
split-complementary
#2B377D #7D482B #607D2B
monochromatic
#0C0F22 #1B234F #2B377D #3B4BAB #5C6BC7

Accessibility & contrast

On white

10.79
#2B377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B377D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B377D#FFFFFF#000000##FFFFFF
##2B377D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b377d;
/* rgb */ color: rgb(43, 55, 125);
/* oklch */ color: oklch(36.9% 0.119 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da3',
    500: '#2b377d',
    950: '#000000',
  },
}
SCSS
$custom: #2b377d;
$custom-light: #6e6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b377d",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 231.22,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.11881,
    "h": 272
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#2B377D
secondary
#ADA057
accent
#C44FD8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B377D

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

Preview Lab → · Contrast checker → · Palette generator →

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