#2D4A93#2D4A93

#2D4A93 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.125 H 265.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4A93
RGBrgb(45, 74, 147)
HSLhsl(223, 53%, 38%)
HSVhsv(223, 69%, 58%)
CMYKcmyk(69.4%, 49.7%, 0%, 42.4%)
CIE-LABlab(33.05, 14.73, -43.50)
CIE-LCHlch(33.05, 45.93, 288.70°)
OKLaboklab(42.8% -0.0105 -0.1247)
OKLCHoklch(42.8% 0.125 265.2)
XYZxyz(8.7956, 7.5612, 28.5940)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A93 #93762D
analogous
#2D7D93 #2D4A93 #432D93
triadic
#2D4A93 #932D4A #4A932D
tetradic
#2D4A93 #932D7D #93762D #2D9343
square
#2D4A93 #932D7D #93762D #2D9343
split-complementary
#2D4A93 #93432D #7D932D
monochromatic
#101B35 #1F3264 #2D4A93 #3B62C2 #6987D1

Accessibility & contrast

On white

8.36
#2D4A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D4A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A93
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A93#FFFFFF#000000##FFFFFF
##2D4A931.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225396
Deuteranopia (green-blind)
#074992
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4a93;
/* rgb */ color: rgb(45, 74, 147);
/* oklch */ color: oklch(42.8% 0.125 265.2);
Tailwind
colors: {
  custom: {
    50: '#727cb3',
    500: '#2d4a93',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a93;
$custom-light: #727cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a93",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 222.941,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.12516,
    "h": 265.2
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#2D4A93
secondary
#B8A064
accent
#B34BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A93

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

Preview Lab → · Contrast checker → · Palette generator →

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