#2D378E#2D378E

#2D378E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.143 H 272.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2D378E
RGBrgb(45, 55, 142)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(68.3%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.41, 25.68, -49.56)
CIE-LCHlch(27.41, 55.82, 297.39°)
OKLaboklab(38.44% 0.0068 -0.1428)
OKLCHoklch(38.44% 0.143 272.7)
XYZxyz(7.3292, 5.2426, 26.2116)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D378E #8E842D
analogous
#2D688E #2D378E #532D8E
triadic
#2D378E #8E2D37 #378E2D
tetradic
#2D378E #8E2D68 #8E842D #2D8E53
square
#2D378E #8E2D68 #8E842D #2D8E53
split-complementary
#2D378E #8E532D #688E2D
monochromatic
#101331 #1E2560 #2D378E #3C49BC #6771CF

Accessibility & contrast

On white

10.25
#2D378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D378E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D378E#FFFFFF#000000##FFFFFF
##2D378E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d378e;
/* rgb */ color: rgb(45, 55, 142);
/* oklch */ color: oklch(38.4% 0.143 272.7);
Tailwind
colors: {
  custom: {
    50: '#726db0',
    500: '#2d378e',
    950: '#000000',
  },
}
SCSS
$custom: #2d378e;
$custom-light: #726db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d378e",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 233.814,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.14297,
    "h": 272.7
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2D378E
secondary
#B5AD61
accent
#CD4CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D378E

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

Preview Lab → · Contrast checker → · Palette generator →

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