#2D3E72#2D3E72

#2D3E72 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.092 H 268.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2D3E72
RGBrgb(45, 62, 114)
HSLhsl(225, 43%, 31%)
HSVhsv(225, 61%, 45%)
CMYKcmyk(60.5%, 45.6%, 0%, 55.3%)
CIE-LABlab(27.35, 10.48, -32.14)
CIE-LCHlch(27.35, 33.81, 288.05°)
OKLaboklab(37.74% -0.0029 -0.0915)
OKLCHoklch(37.74% 0.092 268.2)
XYZxyz(5.8411, 5.2176, 16.6156)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E72 #72612D
analogous
#2D6072 #2D3E72 #3E2D72
triadic
#2D3E72 #722D3E #3E722D
tetradic
#2D3E72 #722D60 #72612D #2D723E
square
#2D3E72 #722D60 #72612D #2D723E
split-complementary
#2D3E72 #723E2D #60722D
monochromatic
#0A0E1A #1C2646 #2D3E72 #3E569E #5B74BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3E72#FFFFFF#000000##FFFFFF
##2D3E721.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)
#274474
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3e72;
/* rgb */ color: rgb(45, 62, 114);
/* oklch */ color: oklch(37.7% 0.092 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c729b',
    500: '#2d3e72',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e72;
$custom-light: #6c729b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e72",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 225.217,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.09155,
    "h": 268.2
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#2D3E72
secondary
#A39157
accent
#B455D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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