#2D4897#2D4897

#2D4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.134 H 266.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4897
RGBrgb(45, 72, 151)
HSLhsl(225, 54%, 38%)
HSVhsv(225, 70%, 59%)
CMYKcmyk(70.2%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.76, 17.59, -46.41)
CIE-LCHlch(32.76, 49.63, 290.76°)
OKLaboklab(42.67% -0.0081 -0.1333)
OKLCHoklch(42.67% 0.134 266.5)
XYZxyz(8.9835, 7.4261, 30.2321)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4897 #977C2D
analogous
#2D7D97 #2D4897 #472D97
triadic
#2D4897 #972D48 #48972D
tetradic
#2D4897 #972D7D #977C2D #2D9747
square
#2D4897 #972D7D #977C2D #2D9747
split-complementary
#2D4897 #97472D #7D972D
monochromatic
#111B39 #1F3268 #2D4897 #3C5FC5 #6B86D3

Accessibility & contrast

On white

8.45
#2D4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4897
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4897#FFFFFF#000000##FFFFFF
##2D48971.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4897;
/* rgb */ color: rgb(45, 72, 151);
/* oklch */ color: oklch(42.7% 0.134 266.5);
Tailwind
colors: {
  custom: {
    50: '#737ab6',
    500: '#2d4897',
    950: '#000000',
  },
}
SCSS
$custom: #2d4897;
$custom-light: #737ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4897",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 224.717,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.13355,
    "h": 266.5
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#2D4897
secondary
#BAA566
accent
#B84ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4897

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

Preview Lab → · Contrast checker → · Palette generator →

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