#2D4A91#2D4A91

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

Color values

HEX#2D4A91
RGBrgb(45, 74, 145)
HSLhsl(223, 53%, 37%)
HSVhsv(223, 69%, 57%)
CMYKcmyk(69%, 49%, 0%, 43.1%)
CIE-LABlab(32.92, 13.97, -42.50)
CIE-LCHlch(32.92, 44.74, 288.19°)
OKLaboklab(42.66% -0.0107 -0.1218)
OKLCHoklch(42.66% 0.122 265)
XYZxyz(8.6400, 7.4989, 27.7747)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A91 #91742D
analogous
#2D7C91 #2D4A91 #422D91
triadic
#2D4A91 #912D4A #4A912D
tetradic
#2D4A91 #912D7C #91742D #2D9142
square
#2D4A91 #912D7C #91742D #2D9142
split-complementary
#2D4A91 #91422D #7C912D
monochromatic
#101A34 #1F3262 #2D4A91 #3B62C0 #6886D0

Accessibility & contrast

On white

8.40
#2D4A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D4A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A91
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A91#FFFFFF#000000##FFFFFF
##2D4A911.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#0D4990
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4a91;
/* rgb */ color: rgb(45, 74, 145);
/* oklch */ color: oklch(42.7% 0.122 265.0);
Tailwind
colors: {
  custom: {
    50: '#727cb2',
    500: '#2d4a91',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a91;
$custom-light: #727cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a91",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 222.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.12224,
    "h": 265
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4A91

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

Preview Lab → · Contrast checker → · Palette generator →

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