#2D4074#2D4074

#2D4074 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.092 H 266.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4074
RGBrgb(45, 64, 116)
HSLhsl(224, 44%, 32%)
HSVhsv(224, 61%, 45%)
CMYKcmyk(61.2%, 44.8%, 0%, 54.5%)
CIE-LABlab(28.07, 9.85, -32.25)
CIE-LCHlch(28.07, 33.72, 286.98°)
OKLaboklab(38.34% -0.0049 -0.0918)
OKLCHoklch(38.34% 0.092 266.9)
XYZxyz(6.0669, 5.4851, 17.2586)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4074 #74612D
analogous
#2D6474 #2D4074 #3E2D74
triadic
#2D4074 #742D40 #40742D
tetradic
#2D4074 #742D64 #74612D #2D743E
square
#2D4074 #742D64 #74612D #2D743E
split-complementary
#2D4074 #743E2D #64742D
monochromatic
#0B0F1C #1C2848 #2D4074 #3E58A0 #5C76C0

Accessibility & contrast

On white

10.01
#2D4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4074
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4074#FFFFFF#000000##FFFFFF
##2D40741.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4074;
/* rgb */ color: rgb(45, 64, 116);
/* oklch */ color: oklch(38.3% 0.092 266.9);
Tailwind
colors: {
  custom: {
    50: '#6d749c',
    500: '#2d4074',
    950: '#000000',
  },
}
SCSS
$custom: #2d4074;
$custom-light: #6d749c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4074",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 223.944,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.09191,
    "h": 266.9
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2D4074
secondary
#A59157
accent
#B254D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4074

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

Preview Lab → · Contrast checker → · Palette generator →

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