#2D4497#2D4497

#2D4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.139 H 268.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2D4497
RGBrgb(45, 68, 151)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 59%)
CMYKcmyk(70.2%, 55%, 0%, 40.8%)
CIE-LABlab(31.64, 20.29, -48.22)
CIE-LCHlch(31.64, 52.32, 292.82°)
OKLaboklab(41.82% -0.0044 -0.1387)
OKLCHoklch(41.82% 0.139 268.2)
XYZxyz(8.7333, 6.9256, 30.1487)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4497 #97802D
analogous
#2D7997 #2D4497 #4B2D97
triadic
#2D4497 #972D44 #44972D
tetradic
#2D4497 #972D79 #97802D #2D974B
square
#2D4497 #972D79 #97802D #2D974B
split-complementary
#2D4497 #974B2D #79972D
monochromatic
#111A39 #1F2F68 #2D4497 #3C5AC5 #6B82D3

Accessibility & contrast

On white

8.80
#2D4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4497
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4497#FFFFFF#000000##FFFFFF
##2D44971.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4497;
/* rgb */ color: rgb(45, 68, 151);
/* oklch */ color: oklch(41.8% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#7477b6',
    500: '#2d4497',
    950: '#000000',
  },
}
SCSS
$custom: #2d4497;
$custom-light: #7477b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4497",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 226.981,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.13877,
    "h": 268.2
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#2D4497
secondary
#BAA866
accent
#BE4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4497

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

Preview Lab → · Contrast checker → · Palette generator →

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