#2D417A#2D417A

#2D417A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.100 H 267.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D417A
RGBrgb(45, 65, 122)
HSLhsl(224, 46%, 33%)
HSVhsv(224, 63%, 48%)
CMYKcmyk(63.1%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.75, 11.39, -34.94)
CIE-LCHlch(28.75, 36.75, 288.06°)
OKLaboklab(38.99% -0.0049 -0.0997)
OKLCHoklch(38.99% 0.1 267.2)
XYZxyz(6.4841, 5.7431, 19.1754)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D417A #7A662D
analogous
#2D677A #2D417A #402D7A
triadic
#2D417A #7A2D41 #417A2D
tetradic
#2D417A #7A2D67 #7A662D #2D7A40
square
#2D417A #7A2D67 #7A662D #2D7A40
split-complementary
#2D417A #7A402D #677A2D
monochromatic
#0C1121 #1D294D #2D417A #3D59A7 #5E78C4

Accessibility & contrast

On white

9.77
#2D417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D417A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D417A#FFFFFF#000000##FFFFFF
##2D417A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d417a;
/* rgb */ color: rgb(45, 65, 122);
/* oklch */ color: oklch(39.0% 0.100 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e75a1',
    500: '#2d417a',
    950: '#000000',
  },
}
SCSS
$custom: #2d417a;
$custom-light: #6e75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d417a",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 224.416,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.0998,
    "h": 267.2
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#2D417A
secondary
#AA9559
accent
#B452D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2D417A

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

Preview Lab → · Contrast checker → · Palette generator →

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