#2D378C#2D378C

#2D378C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.140 H 272.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2D378C
RGBrgb(45, 55, 140)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 68%, 55%)
CMYKcmyk(67.9%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.25, 24.95, -48.59)
CIE-LCHlch(27.25, 54.62, 297.17°)
OKLaboklab(38.27% 0.0068 -0.14)
OKLCHoklch(38.27% 0.14 272.8)
XYZxyz(7.1804, 5.1831, 25.4279)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D378C #8C822D
analogous
#2D678C #2D378C #532D8C
triadic
#2D378C #8C2D37 #378C2D
tetradic
#2D378C #8C2D67 #8C822D #2D8C53
square
#2D378C #8C2D67 #8C822D #2D8C53
split-complementary
#2D378C #8C532D #678C2D
monochromatic
#0F132F #1E255E #2D378C #3C49BA #6671CE

Accessibility & contrast

On white

10.31
#2D378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D378C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D378C#FFFFFF#000000##FFFFFF
##2D378C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d378c;
/* rgb */ color: rgb(45, 55, 140);
/* oklch */ color: oklch(38.3% 0.140 272.8);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2d378c',
    950: '#000000',
  },
}
SCSS
$custom: #2d378c;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d378c",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 233.684,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.14012,
    "h": 272.8
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#2D378C
secondary
#B4AB60
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D378C

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

Preview Lab → · Contrast checker → · Palette generator →

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