#2D4A97#2D4A97

#2D4A97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.131 H 265.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2D4A97
RGBrgb(45, 74, 151)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 59%)
CMYKcmyk(70.2%, 51%, 0%, 40.8%)
CIE-LABlab(33.33, 16.25, -45.49)
CIE-LCHlch(33.33, 48.31, 289.65°)
OKLaboklab(43.1% -0.0099 -0.1306)
OKLCHoklch(43.1% 0.131 265.6)
XYZxyz(9.1149, 7.6889, 30.2759)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A97 #977A2D
analogous
#2D7F97 #2D4A97 #452D97
triadic
#2D4A97 #972D4A #4A972D
tetradic
#2D4A97 #972D7F #977A2D #2D9745
square
#2D4A97 #972D7F #977A2D #2D9745
split-complementary
#2D4A97 #97452D #7F972D
monochromatic
#111C39 #1F3368 #2D4A97 #3C62C5 #6B88D3

Accessibility & contrast

On white

8.27
#2D4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A97
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A97#FFFFFF#000000##FFFFFF
##2D4A971.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E539A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4a97;
/* rgb */ color: rgb(45, 74, 151);
/* oklch */ color: oklch(43.1% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#737cb6',
    500: '#2d4a97',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a97;
$custom-light: #737cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a97",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 223.585,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.431,
    "c": 0.13095,
    "h": 265.6
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#2D4A97
secondary
#BAA366
accent
#B54ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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