#2D416D#2D416D

#2D416D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.080 H 264.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2D416D
RGBrgb(45, 65, 109)
HSLhsl(221, 42%, 30%)
HSVhsv(221, 59%, 43%)
CMYKcmyk(58.7%, 40.4%, 0%, 57.3%)
CIE-LABlab(27.96, 6.60, -27.99)
CIE-LCHlch(27.96, 28.76, 283.26°)
OKLaboklab(38.11% -0.0077 -0.0793)
OKLCHoklch(38.11% 0.08 264.5)
XYZxyz(5.7319, 5.4422, 15.2134)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D416D #6D592D
analogous
#2D616D #2D416D #392D6D
triadic
#2D416D #6D2D41 #416D2D
tetradic
#2D416D #6D2D61 #6D592D #2D6D39
square
#2D416D #6D2D61 #6D592D #2D6D39
split-complementary
#2D416D #6D392D #616D2D
monochromatic
#090D16 #1B2742 #2D416D #3F5B98 #5A78BB

Accessibility & contrast

On white

10.05
#2D416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D416D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D416D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D416D#FFFFFF#000000##FFFFFF
##2D416D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#273F6C
Tritanopia (blue-blind)
#054B51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d416d;
/* rgb */ color: rgb(45, 65, 109);
/* oklch */ color: oklch(38.1% 0.080 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b7597',
    500: '#2d416d',
    950: '#000000',
  },
}
SCSS
$custom: #2d416d;
$custom-light: #6b7597;
$custom-dark: #000000;
JSON
{
  "hex": "#2d416d",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 221.25,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.07967,
    "h": 264.5
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#2D416D
secondary
#9F8857
accent
#AB56D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D416D

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

Preview Lab → · Contrast checker → · Palette generator →

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