#2D4996#2D4996

#2D4996 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.131 H 266.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4996
RGBrgb(45, 73, 150)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 59%)
CMYKcmyk(70%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.97, 16.54, -45.46)
CIE-LCHlch(32.97, 48.37, 289.99°)
OKLaboklab(42.81% -0.0091 -0.1305)
OKLCHoklch(42.81% 0.131 266)
XYZxyz(8.9678, 7.5241, 29.8279)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4996 #967A2D
analogous
#2D7D96 #2D4996 #452D96
triadic
#2D4996 #962D49 #49962D
tetradic
#2D4996 #962D7D #967A2D #2D9645
square
#2D4996 #962D7D #967A2D #2D9645
split-complementary
#2D4996 #96452D #7D962D
monochromatic
#111B38 #1F3267 #2D4996 #3C60C4 #6B87D3

Accessibility & contrast

On white

8.38
#2D4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4996
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4996#FFFFFF#000000##FFFFFF
##2D49961.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4996;
/* rgb */ color: rgb(45, 73, 150);
/* oklch */ color: oklch(42.8% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#737bb5',
    500: '#2d4996',
    950: '#000000',
  },
}
SCSS
$custom: #2d4996;
$custom-light: #737bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4996",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 224,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.13081,
    "h": 266
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#2D4996
secondary
#B9A365
accent
#B64BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4996

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

Preview Lab → · Contrast checker → · Palette generator →

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