#2D4790#2D4790

#2D4790 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.125 H 266.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2D4790
RGBrgb(45, 71, 144)
HSLhsl(224, 52%, 37%)
HSVhsv(224, 69%, 56%)
CMYKcmyk(68.7%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.98, 15.61, -43.39)
CIE-LCHlch(31.98, 46.12, 289.79°)
OKLaboklab(41.92% -0.0079 -0.1244)
OKLCHoklch(41.92% 0.125 266.3)
XYZxyz(8.3677, 7.0772, 27.3052)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4790 #90762D
analogous
#2D7990 #2D4790 #442D90
triadic
#2D4790 #902D47 #47902D
tetradic
#2D4790 #902D79 #90762D #2D9044
square
#2D4790 #902D79 #90762D #2D9044
split-complementary
#2D4790 #90442D #79902D
monochromatic
#101933 #1E3061 #2D4790 #3C5EBF #6883D0

Accessibility & contrast

On white

8.69
#2D4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4790
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4790#FFFFFF#000000##FFFFFF
##2D47901.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5093
Deuteranopia (green-blind)
#01478F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4790;
/* rgb */ color: rgb(45, 71, 144);
/* oklch */ color: oklch(41.9% 0.125 266.3);
Tailwind
colors: {
  custom: {
    50: '#7279b1',
    500: '#2d4790',
    950: '#000000',
  },
}
SCSS
$custom: #2d4790;
$custom-light: #7279b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4790",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 224.242,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.1247,
    "h": 266.3
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#2D4790
secondary
#B6A062
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4790

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

Preview Lab → · Contrast checker → · Palette generator →

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