#2B377F#2B377F

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

Color values

HEX#2B377F
RGBrgb(43, 55, 127)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 66%, 50%)
CMYKcmyk(66.1%, 56.7%, 0%, 50.2%)
CIE-LABlab(26.09, 19.76, -42.37)
CIE-LCHlch(26.09, 46.75, 295.00°)
OKLaboklab(37.05% 0.0042 -0.1217)
OKLCHoklch(37.05% 0.122 272)
XYZxyz(6.1919, 4.7777, 20.6704)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B377F #7F732B
analogous
#2B617F #2B377F #492B7F
triadic
#2B377F #7F2B37 #377F2B
tetradic
#2B377F #7F2B61 #7F732B #2B7F49
square
#2B377F #7F2B61 #7F732B #2B7F49
split-complementary
#2B377F #7F492B #617F2B
monochromatic
#0C0F24 #1C2351 #2B377F #3A4BAD #5C6CC8

Accessibility & contrast

On white

10.74
#2B377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B377F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B377F#FFFFFF#000000##FFFFFF
##2B377F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b377f;
/* rgb */ color: rgb(43, 55, 127);
/* oklch */ color: oklch(37.0% 0.122 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da5',
    500: '#2b377f',
    950: '#000000',
  },
}
SCSS
$custom: #2b377f;
$custom-light: #6e6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b377f",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 231.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37045,
    "c": 0.12179,
    "h": 272
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B377F

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

Preview Lab → · Contrast checker → · Palette generator →

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