#2D4F96#2D4F96

#2D4F96 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.123 H 263.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2D4F96
RGBrgb(45, 79, 150)
HSLhsl(221, 54%, 38%)
HSVhsv(221, 70%, 59%)
CMYKcmyk(70%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.70, 12.52, -42.67)
CIE-LCHlch(34.70, 44.47, 286.35°)
OKLaboklab(44.13% -0.0149 -0.1222)
OKLCHoklch(44.13% 0.123 263.1)
XYZxyz(9.3812, 8.3509, 29.9657)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F96 #96742D
analogous
#2D8396 #2D4F96 #3F2D96
triadic
#2D4F96 #962D4F #4F962D
tetradic
#2D4F96 #962D83 #96742D #2D963F
square
#2D4F96 #962D83 #96742D #2D963F
split-complementary
#2D4F96 #963F2D #83962D
monochromatic
#111D38 #1F3667 #2D4F96 #3C68C4 #6B8CD3

Accessibility & contrast

On white

7.86
#2D4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D4F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F96
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F96#FFFFFF#000000##FFFFFF
##2D4F961.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4f96;
/* rgb */ color: rgb(45, 79, 150);
/* oklch */ color: oklch(44.1% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#737fb5',
    500: '#2d4f96',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f96;
$custom-light: #737fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f96",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 220.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.12309,
    "h": 263.1
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#2D4F96
secondary
#B99E65
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F96

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

Preview Lab → · Contrast checker → · Palette generator →

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