#2D4A94#2D4A94

#2D4A94 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.127 H 265.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2D4A94
RGBrgb(45, 74, 148)
HSLhsl(223, 53%, 38%)
HSVhsv(223, 70%, 58%)
CMYKcmyk(69.6%, 50%, 0%, 42%)
CIE-LABlab(33.12, 15.11, -44.00)
CIE-LCHlch(33.12, 46.52, 288.95°)
OKLaboklab(42.88% -0.0103 -0.1262)
OKLCHoklch(42.88% 0.127 265.3)
XYZxyz(8.8744, 7.5927, 29.0091)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A94 #94772D
analogous
#2D7D94 #2D4A94 #442D94
triadic
#2D4A94 #942D4A #4A942D
tetradic
#2D4A94 #942D7D #94772D #2D9444
square
#2D4A94 #942D7D #94772D #2D9444
split-complementary
#2D4A94 #94442D #7D942D
monochromatic
#101B36 #1F3365 #2D4A94 #3B61C3 #6A87D2

Accessibility & contrast

On white

8.34
#2D4A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D4A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A94
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A94#FFFFFF#000000##FFFFFF
##2D4A941.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215397
Deuteranopia (green-blind)
#044992
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4a94;
/* rgb */ color: rgb(45, 74, 148);
/* oklch */ color: oklch(42.9% 0.127 265.3);
Tailwind
colors: {
  custom: {
    50: '#737cb4',
    500: '#2d4a94',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a94;
$custom-light: #737cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a94",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 223.107,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.12661,
    "h": 265.3
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#2D4A94
secondary
#B8A164
accent
#B44BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A94

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

Preview Lab → · Contrast checker → · Palette generator →

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