#2B377A#2B377A

#2B377A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.114 H 271.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2B377A
RGBrgb(43, 55, 122)
HSLhsl(231, 48%, 32%)
HSVhsv(231, 65%, 48%)
CMYKcmyk(64.8%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.72, 17.88, -39.83)
CIE-LCHlch(25.72, 43.66, 294.17°)
OKLaboklab(36.64% 0.0039 -0.1142)
OKLCHoklch(36.64% 0.114 271.9)
XYZxyz(5.8741, 4.6506, 18.9967)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B377A #7A6E2B
analogous
#2B5F7A #2B377A #462B7A
triadic
#2B377A #7A2B37 #377A2B
tetradic
#2B377A #7A2B5F #7A6E2B #2B7A46
square
#2B377A #7A2B5F #7A6E2B #2B7A46
split-complementary
#2B377A #7A462B #5F7A2B
monochromatic
#0B0E1F #1B234D #2B377A #3B4BA7 #5A6BC5

Accessibility & contrast

On white

10.88
#2B377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B377A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B377A#FFFFFF#000000##FFFFFF
##2B377A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b377a;
/* rgb */ color: rgb(43, 55, 122);
/* oklch */ color: oklch(36.6% 0.114 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6da1',
    500: '#2b377a',
    950: '#000000',
  },
}
SCSS
$custom: #2b377a;
$custom-light: #6d6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b377a",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 230.886,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.11432,
    "h": 271.9
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#2B377A
secondary
#AB9E56
accent
#C350D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B377A

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

Preview Lab → · Contrast checker → · Palette generator →

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