#2D4191#2D4191

#2D4191 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.134 H 269.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D4191
RGBrgb(45, 65, 145)
HSLhsl(228, 53%, 37%)
HSVhsv(228, 69%, 57%)
CMYKcmyk(69%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.36, 20.05, -46.63)
CIE-LCHlch(30.36, 50.76, 293.27°)
OKLaboklab(40.71% -0.0021 -0.1341)
OKLCHoklch(40.71% 0.134 269.1)
XYZxyz(8.0816, 6.3820, 27.5885)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4191 #917D2D
analogous
#2D7391 #2D4191 #4B2D91
triadic
#2D4191 #912D41 #41912D
tetradic
#2D4191 #912D73 #917D2D #2D914B
square
#2D4191 #912D73 #917D2D #2D914B
split-complementary
#2D4191 #914B2D #73912D
monochromatic
#101734 #1F2C62 #2D4191 #3B56C0 #687DD0

Accessibility & contrast

On white

9.22
#2D4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4191
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4191#FFFFFF#000000##FFFFFF
##2D41911.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4191;
/* rgb */ color: rgb(45, 65, 145);
/* oklch */ color: oklch(40.7% 0.134 269.1);
Tailwind
colors: {
  custom: {
    50: '#7275b2',
    500: '#2d4191',
    950: '#000000',
  },
}
SCSS
$custom: #2d4191;
$custom-light: #7275b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4191",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 228,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.13408,
    "h": 269.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#2D4191
secondary
#B7A663
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4191

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

Preview Lab → · Contrast checker → · Palette generator →

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