#2D4F99#2D4F99

#2D4F99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.127 H 263.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D4F99
RGBrgb(45, 79, 153)
HSLhsl(221, 55%, 39%)
HSVhsv(221, 71%, 60%)
CMYKcmyk(70.6%, 48.4%, 0%, 40%)
CIE-LABlab(34.90, 13.66, -44.17)
CIE-LCHlch(34.90, 46.24, 287.19°)
OKLaboklab(44.35% -0.0144 -0.1266)
OKLCHoklch(44.35% 0.127 263.5)
XYZxyz(9.6259, 8.4488, 31.2543)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F99 #99772D
analogous
#2D8599 #2D4F99 #412D99
triadic
#2D4F99 #992D4F #4F992D
tetradic
#2D4F99 #992D85 #99772D #2D9941
square
#2D4F99 #992D85 #99772D #2D9941
split-complementary
#2D4F99 #99412D #85992D
monochromatic
#111E3A #1F376A #2D4F99 #3D68C6 #6C8DD4

Accessibility & contrast

On white

7.81
#2D4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F99
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F99#FFFFFF#000000##FFFFFF
##2D4F991.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4f99;
/* rgb */ color: rgb(45, 79, 153);
/* oklch */ color: oklch(44.3% 0.127 263.5);
Tailwind
colors: {
  custom: {
    50: '#737fb7',
    500: '#2d4f99',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f99;
$custom-light: #737fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f99",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 221.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.12741,
    "h": 263.5
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2D4F99
secondary
#BBA067
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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