#2B377E#2B377E

#2B377E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.120 H 272.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B377E
RGBrgb(43, 55, 126)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 66%, 49%)
CMYKcmyk(65.9%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.02, 19.38, -41.87)
CIE-LCHlch(26.02, 46.14, 294.84°)
OKLaboklab(36.96% 0.0041 -0.1202)
OKLCHoklch(36.96% 0.12 272)
XYZxyz(6.1271, 4.7518, 20.3289)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B377E #7E722B
analogous
#2B607E #2B377E #482B7E
triadic
#2B377E #7E2B37 #377E2B
tetradic
#2B377E #7E2B60 #7E722B #2B7E48
square
#2B377E #7E2B60 #7E722B #2B7E48
split-complementary
#2B377E #7E482B #607E2B
monochromatic
#0C0F23 #1B2350 #2B377E #3B4BAC #5C6CC7

Accessibility & contrast

On white

10.77
#2B377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B377E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B377E#FFFFFF#000000##FFFFFF
##2B377E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b377e;
/* rgb */ color: rgb(43, 55, 126);
/* oklch */ color: oklch(37.0% 0.120 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da4',
    500: '#2b377e',
    950: '#000000',
  },
}
SCSS
$custom: #2b377e;
$custom-light: #6e6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b377e",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 231.325,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.12031,
    "h": 272
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#2B377E
secondary
#ADA158
accent
#C54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B377E

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

Preview Lab → · Contrast checker → · Palette generator →

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