#2D377C#2D377C

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

Color values

HEX#2D377C
RGBrgb(45, 55, 124)
HSLhsl(232, 47%, 33%)
HSVhsv(232, 64%, 49%)
CMYKcmyk(63.7%, 55.6%, 0%, 51.4%)
CIE-LABlab(26.00, 19.01, -40.64)
CIE-LCHlch(26.00, 44.86, 295.07°)
OKLaboklab(36.94% 0.0063 -0.1165)
OKLCHoklch(36.94% 0.117 273.1)
XYZxyz(6.0853, 4.7450, 19.6601)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D377C #7C722D
analogous
#2D5E7C #2D377C #4A2D7C
triadic
#2D377C #7C2D37 #377C2D
tetradic
#2D377C #7C2D5E #7C722D #2D7C4A
square
#2D377C #7C2D5E #7C722D #2D7C4A
split-complementary
#2D377C #7C4A2D #5E7C2D
monochromatic
#0C0F22 #1D234F #2D377C #3D4BA9 #5F6CC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D377C#FFFFFF#000000##FFFFFF
##2D377C1.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)
#0A417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d377c;
/* rgb */ color: rgb(45, 55, 124);
/* oklch */ color: oklch(36.9% 0.117 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f6da2',
    500: '#2d377c',
    950: '#000000',
  },
}
SCSS
$custom: #2d377c;
$custom-light: #6f6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d377c",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 232.405,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.11672,
    "h": 273.1
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#2D377C
secondary
#ABA15A
accent
#C651D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D377C

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

Preview Lab → · Contrast checker → · Palette generator →

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