#2D378F#2D378F

#2D378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 272.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D378F
RGBrgb(45, 55, 143)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 69%, 56%)
CMYKcmyk(68.5%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.50, 26.05, -50.04)
CIE-LCHlch(27.50, 56.42, 297.50°)
OKLaboklab(38.53% 0.0067 -0.1442)
OKLCHoklch(38.53% 0.144 272.7)
XYZxyz(7.4046, 5.2728, 26.6088)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D378F #8F852D
analogous
#2D688F #2D378F #542D8F
triadic
#2D378F #8F2D37 #378F2D
tetradic
#2D378F #8F2D68 #8F852D #2D8F54
square
#2D378F #8F2D68 #8F852D #2D8F54
split-complementary
#2D378F #8F542D #688F2D
monochromatic
#101332 #1E2560 #2D378F #3C49BE #6772CF

Accessibility & contrast

On white

10.22
#2D378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D378F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D378F#FFFFFF#000000##FFFFFF
##2D378F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d378f;
/* rgb */ color: rgb(45, 55, 143);
/* oklch */ color: oklch(38.5% 0.144 272.7);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2d378f',
    950: '#000000',
  },
}
SCSS
$custom: #2d378f;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d378f",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 233.878,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.14438,
    "h": 272.7
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#2D378F
secondary
#B6AD62
accent
#CD4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D378F

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

Preview Lab → · Contrast checker → · Palette generator →

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