#2D417C#2D417C

#2D417C is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.103 H 267.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D417C
RGBrgb(45, 65, 124)
HSLhsl(225, 47%, 33%)
HSVhsv(225, 64%, 49%)
CMYKcmyk(63.7%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.88, 12.14, -35.99)
CIE-LCHlch(28.88, 37.98, 288.64°)
OKLaboklab(39.13% -0.0046 -0.1027)
OKLCHoklch(39.13% 0.103 267.4)
XYZxyz(6.6093, 5.7932, 19.8348)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D417C #7C682D
analogous
#2D687C #2D417C #402D7C
triadic
#2D417C #7C2D41 #417C2D
tetradic
#2D417C #7C2D68 #7C682D #2D7C40
square
#2D417C #7C2D68 #7C682D #2D7C40
split-complementary
#2D417C #7C402D #687C2D
monochromatic
#0C1222 #1D294F #2D417C #3D59A9 #5F78C5

Accessibility & contrast

On white

9.73
#2D417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D417C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D417C#FFFFFF#000000##FFFFFF
##2D417C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d417c;
/* rgb */ color: rgb(45, 65, 124);
/* oklch */ color: oklch(39.1% 0.103 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e75a2',
    500: '#2d417c',
    950: '#000000',
  },
}
SCSS
$custom: #2d417c;
$custom-light: #6e75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d417c",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 224.81,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39126,
    "c": 0.10285,
    "h": 267.4
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#2D417C
secondary
#AB975A
accent
#B551D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D417C

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

Preview Lab → · Contrast checker → · Palette generator →

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