#2D4596#2D4596

#2D4596 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.136 H 267.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2D4596
RGBrgb(45, 69, 150)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 59%)
CMYKcmyk(70%, 54%, 0%, 41.2%)
CIE-LABlab(31.84, 19.24, -47.28)
CIE-LCHlch(31.84, 51.05, 292.14°)
OKLaboklab(41.95% -0.0054 -0.1359)
OKLCHoklch(41.95% 0.136 267.7)
XYZxyz(8.7134, 7.0153, 29.7431)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4596 #967E2D
analogous
#2D7996 #2D4596 #4A2D96
triadic
#2D4596 #962D45 #45962D
tetradic
#2D4596 #962D79 #967E2D #2D964A
square
#2D4596 #962D79 #967E2D #2D964A
split-complementary
#2D4596 #964A2D #79962D
monochromatic
#111A38 #1F2F67 #2D4596 #3C5BC4 #6B83D3

Accessibility & contrast

On white

8.74
#2D4596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D4596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4596
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4596#FFFFFF#000000##FFFFFF
##2D45961.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4596;
/* rgb */ color: rgb(45, 69, 150);
/* oklch */ color: oklch(42.0% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#7378b5',
    500: '#2d4596',
    950: '#000000',
  },
}
SCSS
$custom: #2d4596;
$custom-light: #7378b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4596",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 226.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.13603,
    "h": 267.7
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#2D4596
secondary
#B9A665
accent
#BC4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4596

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

Preview Lab → · Contrast checker → · Palette generator →

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