#2D377E#2D377E

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

Color values

HEX#2D377E
RGBrgb(45, 55, 126)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 64%, 49%)
CMYKcmyk(64.3%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.15, 19.75, -41.65)
CIE-LCHlch(26.15, 46.10, 295.37°)
OKLaboklab(37.1% 0.0064 -0.1195)
OKLCHoklch(37.1% 0.12 273.1)
XYZxyz(6.2130, 4.7961, 20.3329)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D377E #7E742D
analogous
#2D5F7E #2D377E #4B2D7E
triadic
#2D377E #7E2D37 #377E2D
tetradic
#2D377E #7E2D5F #7E742D #2D7E4B
square
#2D377E #7E2D5F #7E742D #2D7E4B
split-complementary
#2D377E #7E4B2D #5F7E2D
monochromatic
#0D1024 #1D2351 #2D377E #3D4BAB #5F6CC6

Accessibility & contrast

On white

10.72
#2D377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D377E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D377E#FFFFFF#000000##FFFFFF
##2D377E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d377e;
/* rgb */ color: rgb(45, 55, 126);
/* oklch */ color: oklch(37.1% 0.120 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f6da4',
    500: '#2d377e',
    950: '#000000',
  },
}
SCSS
$custom: #2d377e;
$custom-light: #6f6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d377e",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 232.593,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37096,
    "c": 0.11971,
    "h": 273.1
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D377E

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

Preview Lab → · Contrast checker → · Palette generator →

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