#2D4099#2D4099

#2D4099 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.147 H 269.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D4099
RGBrgb(45, 64, 153)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 60%)
CMYKcmyk(70.6%, 58.2%, 0%, 40%)
CIE-LABlab(30.70, 23.74, -50.97)
CIE-LCHlch(30.70, 56.22, 294.98°)
OKLaboklab(41.16% -0.0009 -0.1468)
OKLCHoklch(41.16% 0.147 269.7)
XYZxyz(8.6634, 6.5237, 30.9335)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4099 #99862D
analogous
#2D7699 #2D4099 #502D99
triadic
#2D4099 #992D40 #40992D
tetradic
#2D4099 #992D76 #99862D #2D9950
square
#2D4099 #992D76 #99862D #2D9950
split-complementary
#2D4099 #99502D #76992D
monochromatic
#11183A #1F2C6A #2D4099 #3D55C6 #6C7FD4

Accessibility & contrast

On white

9.11
#2D4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4099
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4099#FFFFFF#000000##FFFFFF
##2D40991.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4099;
/* rgb */ color: rgb(45, 64, 153);
/* oklch */ color: oklch(41.2% 0.147 269.7);
Tailwind
colors: {
  custom: {
    50: '#7474b8',
    500: '#2d4099',
    950: '#000000',
  },
}
SCSS
$custom: #2d4099;
$custom-light: #7474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4099",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 229.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.14682,
    "h": 269.7
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#2D4099
secondary
#BBAC67
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4099

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

Preview Lab → · Contrast checker → · Palette generator →

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