#2D4091#2D4091

#2D4091 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.135 H 269.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2D4091
RGBrgb(45, 64, 145)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 57%)
CMYKcmyk(69%, 55.9%, 0%, 43.1%)
CIE-LABlab(30.08, 20.73, -47.08)
CIE-LCHlch(30.08, 51.44, 293.76°)
OKLaboklab(40.51% -0.0012 -0.1354)
OKLCHoklch(40.51% 0.135 269.5)
XYZxyz(8.0247, 6.2683, 27.5696)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4091 #917E2D
analogous
#2D7291 #2D4091 #4C2D91
triadic
#2D4091 #912D40 #40912D
tetradic
#2D4091 #912D72 #917E2D #2D914C
square
#2D4091 #912D72 #917E2D #2D914C
split-complementary
#2D4091 #914C2D #72912D
monochromatic
#101734 #1F2B62 #2D4091 #3B55C0 #687CD0

Accessibility & contrast

On white

9.32
#2D4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4091
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4091#FFFFFF#000000##FFFFFF
##2D40911.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4091;
/* rgb */ color: rgb(45, 64, 145);
/* oklch */ color: oklch(40.5% 0.135 269.5);
Tailwind
colors: {
  custom: {
    50: '#7274b2',
    500: '#2d4091',
    950: '#000000',
  },
}
SCSS
$custom: #2d4091;
$custom-light: #7274b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4091",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 228.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.13541,
    "h": 269.5
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#2D4091
secondary
#B7A763
accent
#C14CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4091

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

Preview Lab → · Contrast checker → · Palette generator →

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