#2D4496#2D4496

#2D4496 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.137 H 268.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2D4496
RGBrgb(45, 68, 150)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 59%)
CMYKcmyk(70%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.56, 19.91, -47.73)
CIE-LCHlch(31.56, 51.72, 292.64°)
OKLaboklab(41.74% -0.0045 -0.1373)
OKLCHoklch(41.74% 0.137 268.1)
XYZxyz(8.6524, 6.8933, 29.7228)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4496 #967F2D
analogous
#2D7896 #2D4496 #4A2D96
triadic
#2D4496 #962D44 #44962D
tetradic
#2D4496 #962D78 #967F2D #2D964A
square
#2D4496 #962D78 #967F2D #2D964A
split-complementary
#2D4496 #964A2D #78962D
monochromatic
#111938 #1F2F67 #2D4496 #3C5AC4 #6B82D3

Accessibility & contrast

On white

8.83
#2D4496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4496
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4496#FFFFFF#000000##FFFFFF
##2D44961.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4496;
/* rgb */ color: rgb(45, 68, 150);
/* oklch */ color: oklch(41.7% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#7377b5',
    500: '#2d4496',
    950: '#000000',
  },
}
SCSS
$custom: #2d4496;
$custom-light: #7377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4496",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 226.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41741,
    "c": 0.13733,
    "h": 268.1
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#2D4496
secondary
#B9A765
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4496

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

Preview Lab → · Contrast checker → · Palette generator →

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