#2D377B#2D377B

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

Color values

HEX#2D377B
RGBrgb(45, 55, 123)
HSLhsl(232, 46%, 33%)
HSVhsv(232, 63%, 48%)
CMYKcmyk(63.4%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.92, 18.64, -40.13)
CIE-LCHlch(25.92, 44.24, 294.91°)
OKLaboklab(36.86% 0.0063 -0.115)
OKLCHoklch(36.86% 0.115 273.1)
XYZxyz(6.0223, 4.7198, 19.3287)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D377B #7B712D
analogous
#2D5E7B #2D377B #4A2D7B
triadic
#2D377B #7B2D37 #377B2D
tetradic
#2D377B #7B2D5E #7B712D #2D7B4A
square
#2D377B #7B2D5E #7B712D #2D7B4A
split-complementary
#2D377B #7B4A2D #5E7B2D
monochromatic
#0C0F21 #1D234E #2D377B #3D4BA8 #5E6BC4

Accessibility & contrast

On white

10.80
#2D377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D377B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D377B#FFFFFF#000000##FFFFFF
##2D377B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d377b;
/* rgb */ color: rgb(45, 55, 123);
/* oklch */ color: oklch(36.9% 0.115 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e6da2',
    500: '#2d377b',
    950: '#000000',
  },
}
SCSS
$custom: #2d377b;
$custom-light: #6e6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d377b",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 232.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36856,
    "c": 0.11522,
    "h": 273.1
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#2D377B
secondary
#ABA059
accent
#C552D6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D377B

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

Preview Lab → · Contrast checker → · Palette generator →

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