#2D4F91#2D4F91

#2D4F91 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.116 H 262.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2D4F91
RGBrgb(45, 79, 145)
HSLhsl(220, 53%, 37%)
HSVhsv(220, 69%, 57%)
CMYKcmyk(69%, 45.5%, 0%, 43.1%)
CIE-LABlab(34.38, 10.62, -40.15)
CIE-LCHlch(34.38, 41.53, 284.82°)
OKLaboklab(43.78% -0.0157 -0.1148)
OKLCHoklch(43.78% 0.116 262.2)
XYZxyz(8.9872, 8.1933, 27.8904)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F91 #916F2D
analogous
#2D8191 #2D4F91 #3D2D91
triadic
#2D4F91 #912D4F #4F912D
tetradic
#2D4F91 #912D81 #916F2D #2D913D
square
#2D4F91 #912D81 #916F2D #2D913D
split-complementary
#2D4F91 #913D2D #81912D
monochromatic
#101C34 #1F3662 #2D4F91 #3B68C0 #688CD0

Accessibility & contrast

On white

7.96
#2D4F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D4F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F91
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F91#FFFFFF#000000##FFFFFF
##2D4F911.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#1D4D90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4f91;
/* rgb */ color: rgb(45, 79, 145);
/* oklch */ color: oklch(43.8% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2d4f91',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f91;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f91",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 219.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.11585,
    "h": 262.2
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#2D4F91
secondary
#B79A63
accent
#AB4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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