#2D4599#2D4599

#2D4599 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.140 H 267.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2D4599
RGBrgb(45, 69, 153)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(70.6%, 54.9%, 0%, 40%)
CIE-LABlab(32.06, 20.37, -48.75)
CIE-LCHlch(32.06, 52.84, 292.68°)
OKLaboklab(42.19% -0.0052 -0.1402)
OKLCHoklch(42.19% 0.14 267.9)
XYZxyz(8.9581, 7.1132, 31.0317)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4599 #99812D
analogous
#2D7B99 #2D4599 #4B2D99
triadic
#2D4599 #992D45 #45992D
tetradic
#2D4599 #992D7B #99812D #2D994B
square
#2D4599 #992D7B #99812D #2D994B
split-complementary
#2D4599 #994B2D #7B992D
monochromatic
#111A3A #1F306A #2D4599 #3D5CC6 #6C83D4

Accessibility & contrast

On white

8.67
#2D4599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D4599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4599
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4599#FFFFFF#000000##FFFFFF
##2D45991.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4599;
/* rgb */ color: rgb(45, 69, 153);
/* oklch */ color: oklch(42.2% 0.140 267.9);
Tailwind
colors: {
  custom: {
    50: '#7478b8',
    500: '#2d4599',
    950: '#000000',
  },
}
SCSS
$custom: #2d4599;
$custom-light: #7478b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4599",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 226.667,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.14033,
    "h": 267.9
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#2D4599
secondary
#BBA867
accent
#BD4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4599

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

Preview Lab → · Contrast checker → · Palette generator →

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