#2D4597#2D4597

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

Color values

HEX#2D4597
RGBrgb(45, 69, 151)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 59%)
CMYKcmyk(70.2%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.91, 19.62, -47.77)
CIE-LCHlch(31.91, 51.64, 292.32°)
OKLaboklab(42.03% -0.0053 -0.1374)
OKLCHoklch(42.03% 0.137 267.8)
XYZxyz(8.7943, 7.0476, 30.1690)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4597 #977F2D
analogous
#2D7A97 #2D4597 #4A2D97
triadic
#2D4597 #972D45 #45972D
tetradic
#2D4597 #972D7A #977F2D #2D974A
square
#2D4597 #972D7A #977F2D #2D974A
split-complementary
#2D4597 #974A2D #7A972D
monochromatic
#111A39 #1F2F68 #2D4597 #3C5BC5 #6B83D3

Accessibility & contrast

On white

8.72
#2D4597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D4597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4597
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4597#FFFFFF#000000##FFFFFF
##2D45971.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4597;
/* rgb */ color: rgb(45, 69, 151);
/* oklch */ color: oklch(42.0% 0.137 267.8);
Tailwind
colors: {
  custom: {
    50: '#7378b6',
    500: '#2d4597',
    950: '#000000',
  },
}
SCSS
$custom: #2d4597;
$custom-light: #7378b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4597",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 226.415,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.13746,
    "h": 267.8
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#2D4597
secondary
#BAA766
accent
#BC4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4597

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

Preview Lab → · Contrast checker → · Palette generator →

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