#2D4699#2D4699

#2D4699 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.139 H 267.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2D4699
RGBrgb(45, 70, 153)
HSLhsl(226, 55%, 39%)
HSVhsv(226, 71%, 60%)
CMYKcmyk(70.6%, 54.2%, 0%, 40%)
CIE-LABlab(32.34, 19.70, -48.30)
CIE-LCHlch(32.34, 52.16, 292.19°)
OKLaboklab(42.4% -0.0061 -0.1389)
OKLCHoklch(42.4% 0.139 267.5)
XYZxyz(9.0201, 7.2372, 31.0524)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4699 #99802D
analogous
#2D7C99 #2D4699 #4A2D99
triadic
#2D4699 #992D46 #46992D
tetradic
#2D4699 #992D7C #99802D #2D994A
square
#2D4699 #992D7C #99802D #2D994A
split-complementary
#2D4699 #994A2D #7C992D
monochromatic
#111B3A #1F306A #2D4699 #3D5DC6 #6C84D4

Accessibility & contrast

On white

8.58
#2D4699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D4699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4699
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4699#FFFFFF#000000##FFFFFF
##2D46991.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4699;
/* rgb */ color: rgb(45, 70, 153);
/* oklch */ color: oklch(42.4% 0.139 267.5);
Tailwind
colors: {
  custom: {
    50: '#7479b8',
    500: '#2d4699',
    950: '#000000',
  },
}
SCSS
$custom: #2d4699;
$custom-light: #7479b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4699",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 226.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.13902,
    "h": 267.5
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#2D4699
secondary
#BBA767
accent
#BC4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4699

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

Preview Lab → · Contrast checker → · Palette generator →

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