#2D378D#2D378D

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

Color values

HEX#2D378D
RGBrgb(45, 55, 141)
HSLhsl(234, 52%, 36%)
HSVhsv(234, 68%, 55%)
CMYKcmyk(68.1%, 61%, 0%, 44.7%)
CIE-LABlab(27.33, 25.32, -49.08)
CIE-LCHlch(27.33, 55.22, 297.29°)
OKLaboklab(38.35% 0.0068 -0.1414)
OKLCHoklch(38.35% 0.142 272.7)
XYZxyz(7.2545, 5.2127, 25.8180)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D378D #8D832D
analogous
#2D678D #2D378D #532D8D
triadic
#2D378D #8D2D37 #378D2D
tetradic
#2D378D #8D2D67 #8D832D #2D8D53
square
#2D378D #8D2D67 #8D832D #2D8D53
split-complementary
#2D378D #8D532D #678D2D
monochromatic
#0F1330 #1E255F #2D378D #3C49BB #6671CE

Accessibility & contrast

On white

10.28
#2D378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D378D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D378D#FFFFFF#000000##FFFFFF
##2D378D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d378d;
/* rgb */ color: rgb(45, 55, 141);
/* oklch */ color: oklch(38.4% 0.142 272.7);
Tailwind
colors: {
  custom: {
    50: '#726daf',
    500: '#2d378d',
    950: '#000000',
  },
}
SCSS
$custom: #2d378d;
$custom-light: #726daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d378d",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 233.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.14155,
    "h": 272.7
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#2D378D
secondary
#B5AC61
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D378D

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

Preview Lab → · Contrast checker → · Palette generator →

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