#2D4A9E#2D4A9E

#2D4A9E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.141 H 266.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2D4A9E
RGBrgb(45, 74, 158)
HSLhsl(225, 56%, 40%)
HSVhsv(225, 72%, 62%)
CMYKcmyk(71.5%, 53.2%, 0%, 38%)
CIE-LABlab(33.82, 18.91, -48.93)
CIE-LCHlch(33.82, 52.46, 291.13°)
OKLaboklab(43.64% -0.0092 -0.1407)
OKLCHoklch(43.64% 0.141 266.3)
XYZxyz(9.7004, 7.9231, 33.3592)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A9E #9E812D
analogous
#2D829E #2D4A9E #492D9E
triadic
#2D4A9E #9E2D4A #4A9E2D
tetradic
#2D4A9E #9E2D82 #9E812D #2D9E49
square
#2D4A9E #9E2D82 #9E812D #2D9E49
split-complementary
#2D4A9E #9E492D #829E2D
monochromatic
#121D3F #1F346E #2D4A9E #4063C9 #6F8AD6

Accessibility & contrast

On white

8.12
#2D4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D4A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A9E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A9E#FFFFFF#000000##FFFFFF
##2D4A9E1.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4a9e;
/* rgb */ color: rgb(45, 74, 158);
/* oklch */ color: oklch(43.6% 0.141 266.3);
Tailwind
colors: {
  custom: {
    50: '#757cbb',
    500: '#2d4a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a9e;
$custom-light: #757cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a9e",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 224.602,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.14098,
    "h": 266.3
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#2D4A9E
secondary
#BDA869
accent
#B849DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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