#2D4B97#2D4B97

#2D4B97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.130 H 265.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4B97
RGBrgb(45, 75, 151)
HSLhsl(223, 54%, 38%)
HSVhsv(223, 70%, 59%)
CMYKcmyk(70.2%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.61, 15.58, -45.03)
CIE-LCHlch(33.61, 47.65, 289.08°)
OKLaboklab(43.32% -0.0109 -0.1292)
OKLCHoklch(43.32% 0.13 265.2)
XYZxyz(9.1822, 7.8235, 30.2983)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B97 #97792D
analogous
#2D8097 #2D4B97 #442D97
triadic
#2D4B97 #972D4B #4B972D
tetradic
#2D4B97 #972D80 #97792D #2D9744
square
#2D4B97 #972D80 #97792D #2D9744
split-complementary
#2D4B97 #97442D #80972D
monochromatic
#111C39 #1F3468 #2D4B97 #3C63C5 #6B89D3

Accessibility & contrast

On white

8.19
#2D4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B97
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B97#FFFFFF#000000##FFFFFF
##2D4B971.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4b97;
/* rgb */ color: rgb(45, 75, 151);
/* oklch */ color: oklch(43.3% 0.130 265.2);
Tailwind
colors: {
  custom: {
    50: '#737cb6',
    500: '#2d4b97',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b97;
$custom-light: #737cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b97",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 223.019,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.12966,
    "h": 265.2
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#2D4B97
secondary
#BAA266
accent
#B44ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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