#2D378A#2D378A

#2D378A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.137 H 272.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2D378A
RGBrgb(45, 55, 138)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 67%, 54%)
CMYKcmyk(67.4%, 60.1%, 0%, 45.9%)
CIE-LABlab(27.09, 24.21, -47.62)
CIE-LCHlch(27.09, 53.42, 296.94°)
OKLaboklab(38.1% 0.0068 -0.1371)
OKLCHoklch(38.1% 0.137 272.8)
XYZxyz(7.0343, 5.1246, 24.6583)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D378A #8A802D
analogous
#2D658A #2D378A #512D8A
triadic
#2D378A #8A2D37 #378A2D
tetradic
#2D378A #8A2D65 #8A802D #2D8A51
square
#2D378A #8A2D65 #8A802D #2D8A51
split-complementary
#2D378A #8A512D #658A2D
monochromatic
#0F122E #1E255C #2D378A #3C49B8 #6570CD

Accessibility & contrast

On white

10.37
#2D378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D378A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D378A#FFFFFF#000000##FFFFFF
##2D378A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d378a;
/* rgb */ color: rgb(45, 55, 138);
/* oklch */ color: oklch(38.1% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#726dad',
    500: '#2d378a',
    950: '#000000',
  },
}
SCSS
$custom: #2d378a;
$custom-light: #726dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d378a",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 233.548,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38096,
    "c": 0.13727,
    "h": 272.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#2D378A
secondary
#B3AA60
accent
#CB4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D378A

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

Preview Lab → · Contrast checker → · Palette generator →

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