#2D4E94#2D4E94

#2D4E94 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.121 H 263.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4E94
RGBrgb(45, 78, 148)
HSLhsl(221, 53%, 38%)
HSVhsv(221, 70%, 58%)
CMYKcmyk(69.6%, 47.3%, 0%, 42%)
CIE-LABlab(34.28, 12.43, -42.14)
CIE-LCHlch(34.28, 43.93, 286.43°)
OKLaboklab(43.77% -0.0142 -0.1206)
OKLCHoklch(43.77% 0.121 263.3)
XYZxyz(9.1500, 8.1439, 29.1009)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E94 #94732D
analogous
#2D8194 #2D4E94 #402D94
triadic
#2D4E94 #942D4E #4E942D
tetradic
#2D4E94 #942D81 #94732D #2D9440
square
#2D4E94 #942D81 #94732D #2D9440
split-complementary
#2D4E94 #94402D #81942D
monochromatic
#101D36 #1F3565 #2D4E94 #3B67C3 #6A8BD2

Accessibility & contrast

On white

7.99
#2D4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E94
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E94#FFFFFF#000000##FFFFFF
##2D4E941.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#154C93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4e94;
/* rgb */ color: rgb(45, 78, 148);
/* oklch */ color: oklch(43.8% 0.121 263.3);
Tailwind
colors: {
  custom: {
    50: '#727fb4',
    500: '#2d4e94',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e94;
$custom-light: #727fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e94",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 220.777,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.12146,
    "h": 263.3
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#2D4E94
secondary
#B89E64
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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