#2D377D#2D377D

#2D377D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.118 H 273.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2D377D
RGBrgb(45, 55, 125)
HSLhsl(233, 47%, 33%)
HSVhsv(233, 64%, 49%)
CMYKcmyk(64%, 56%, 0%, 51%)
CIE-LABlab(26.07, 19.38, -41.14)
CIE-LCHlch(26.07, 45.48, 295.22°)
OKLaboklab(37.02% 0.0064 -0.118)
OKLCHoklch(37.02% 0.118 273.1)
XYZxyz(6.1488, 4.7704, 19.9948)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D377D #7D732D
analogous
#2D5F7D #2D377D #4B2D7D
triadic
#2D377D #7D2D37 #377D2D
tetradic
#2D377D #7D2D5F #7D732D #2D7D4B
square
#2D377D #7D2D5F #7D732D #2D7D4B
split-complementary
#2D377D #7D4B2D #5F7D2D
monochromatic
#0D0F23 #1D2350 #2D377D #3D4BAA #5F6CC5

Accessibility & contrast

On white

10.75
#2D377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D377D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D377D#FFFFFF#000000##FFFFFF
##2D377D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d377d;
/* rgb */ color: rgb(45, 55, 125);
/* oklch */ color: oklch(37.0% 0.118 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f6da3',
    500: '#2d377d',
    950: '#000000',
  },
}
SCSS
$custom: #2d377d;
$custom-light: #6f6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d377d",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 232.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37016,
    "c": 0.11822,
    "h": 273.1
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#2D377D
secondary
#ACA25A
accent
#C651D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D377D

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

Preview Lab → · Contrast checker → · Palette generator →

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