#2B377C#2B377C

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

Color values

HEX#2B377C
RGBrgb(43, 55, 124)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 65%, 49%)
CMYKcmyk(65.3%, 55.6%, 0%, 51.4%)
CIE-LABlab(25.86, 18.63, -40.85)
CIE-LCHlch(25.86, 44.90, 294.51°)
OKLaboklab(36.8% 0.004 -0.1172)
OKLCHoklch(36.8% 0.117 272)
XYZxyz(5.9993, 4.7007, 19.6560)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B377C #7C702B
analogous
#2B5F7C #2B377C #472B7C
triadic
#2B377C #7C2B37 #377C2B
tetradic
#2B377C #7C2B5F #7C702B #2B7C47
square
#2B377C #7C2B5F #7C702B #2B7C47
split-complementary
#2B377C #7C472B #5F7C2B
monochromatic
#0B0F21 #1B234F #2B377C #3B4BA9 #5B6BC6

Accessibility & contrast

On white

10.82
#2B377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B377C
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B377C#FFFFFF#000000##FFFFFF
##2B377C1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b377c;
/* rgb */ color: rgb(43, 55, 124);
/* oklch */ color: oklch(36.8% 0.117 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da2',
    500: '#2b377c',
    950: '#000000',
  },
}
SCSS
$custom: #2b377c;
$custom-light: #6e6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b377c",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 231.111,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36802,
    "c": 0.11732,
    "h": 272
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#2B377C
secondary
#AC9F57
accent
#C450D8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B377C

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

Preview Lab → · Contrast checker → · Palette generator →

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