#2D4896#2D4896

#2D4896 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.132 H 266.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2D4896
RGBrgb(45, 72, 150)
HSLhsl(225, 54%, 38%)
HSVhsv(225, 70%, 59%)
CMYKcmyk(70%, 52%, 0%, 41.2%)
CIE-LABlab(32.69, 17.22, -45.92)
CIE-LCHlch(32.69, 49.04, 290.55°)
OKLaboklab(42.59% -0.0082 -0.1318)
OKLCHoklch(42.59% 0.132 266.4)
XYZxyz(8.9027, 7.3937, 29.8062)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4896 #967B2D
analogous
#2D7C96 #2D4896 #462D96
triadic
#2D4896 #962D48 #48962D
tetradic
#2D4896 #962D7C #967B2D #2D9646
square
#2D4896 #962D7C #967B2D #2D9646
split-complementary
#2D4896 #96462D #7C962D
monochromatic
#111B38 #1F3167 #2D4896 #3C5FC4 #6B86D3

Accessibility & contrast

On white

8.47
#2D4896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D4896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4896
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4896#FFFFFF#000000##FFFFFF
##2D48961.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4896;
/* rgb */ color: rgb(45, 72, 150);
/* oklch */ color: oklch(42.6% 0.132 266.4);
Tailwind
colors: {
  custom: {
    50: '#737ab5',
    500: '#2d4896',
    950: '#000000',
  },
}
SCSS
$custom: #2d4896;
$custom-light: #737ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4896",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 224.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.1321,
    "h": 266.4
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#2D4896
secondary
#B9A465
accent
#B84BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4896

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

Preview Lab → · Contrast checker → · Palette generator →

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