#2D4A92#2D4A92

#2D4A92 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.124 H 265.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4A92
RGBrgb(45, 74, 146)
HSLhsl(223, 53%, 37%)
HSVhsv(223, 69%, 57%)
CMYKcmyk(69.2%, 49.3%, 0%, 42.7%)
CIE-LABlab(32.98, 14.35, -43.00)
CIE-LCHlch(32.98, 45.33, 288.45°)
OKLaboklab(42.73% -0.0106 -0.1232)
OKLCHoklch(42.73% 0.124 265.1)
XYZxyz(8.7175, 7.5299, 28.1826)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A92 #92752D
analogous
#2D7D92 #2D4A92 #422D92
triadic
#2D4A92 #922D4A #4A922D
tetradic
#2D4A92 #922D7D #92752D #2D9242
square
#2D4A92 #922D7D #92752D #2D9242
split-complementary
#2D4A92 #92422D #7D922D
monochromatic
#101B34 #1F3263 #2D4A92 #3B62C1 #6987D1

Accessibility & contrast

On white

8.38
#2D4A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4A92
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A92#FFFFFF#000000##FFFFFF
##2D4A921.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235295
Deuteranopia (green-blind)
#0A4991
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4a92;
/* rgb */ color: rgb(45, 74, 146);
/* oklch */ color: oklch(42.7% 0.124 265.1);
Tailwind
colors: {
  custom: {
    50: '#727cb2',
    500: '#2d4a92',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a92;
$custom-light: #727cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a92",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 222.772,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.12371,
    "h": 265.1
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#2D4A92
secondary
#B79F63
accent
#B34CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A92

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

Preview Lab → · Contrast checker → · Palette generator →

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