#2D4378#2D4378

#2D4378 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.094 H 265.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2D4378
RGBrgb(45, 67, 120)
HSLhsl(222, 45%, 32%)
HSVhsv(222, 63%, 47%)
CMYKcmyk(62.5%, 44.2%, 0%, 52.9%)
CIE-LABlab(29.23, 9.29, -32.93)
CIE-LCHlch(29.23, 34.21, 285.75°)
OKLaboklab(39.31% -0.0076 -0.0937)
OKLCHoklch(39.31% 0.094 265.4)
XYZxyz(6.4783, 5.9277, 18.5684)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4378 #78622D
analogous
#2D6978 #2D4378 #3C2D78
triadic
#2D4378 #782D43 #43782D
tetradic
#2D4378 #782D69 #78622D #2D783C
square
#2D4378 #782D69 #78622D #2D783C
split-complementary
#2D4378 #783C2D #69782D
monochromatic
#0C111F #1C2A4B #2D4378 #3E5CA5 #5D7BC2

Accessibility & contrast

On white

9.61
#2D4378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D4378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4378
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4378#FFFFFF#000000##FFFFFF
##2D43781.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4378;
/* rgb */ color: rgb(45, 67, 120);
/* oklch */ color: oklch(39.3% 0.094 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d769f',
    500: '#2d4378',
    950: '#000000',
  },
}
SCSS
$custom: #2d4378;
$custom-light: #6d769f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4378",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 222.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.09405,
    "h": 265.4
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#2D4378
secondary
#A99158
accent
#AF53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4378

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

Preview Lab → · Contrast checker → · Palette generator →

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