#2D499D#2D499D

#2D499D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.141 H 266.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2D499D
RGBrgb(45, 73, 157)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 62%)
CMYKcmyk(71.3%, 53.5%, 0%, 38.4%)
CIE-LABlab(33.47, 19.20, -48.89)
CIE-LCHlch(33.47, 52.53, 291.44°)
OKLaboklab(43.35% -0.0084 -0.1406)
OKLCHoklch(43.35% 0.141 266.6)
XYZxyz(9.5484, 7.7563, 32.8857)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D499D #9D812D
analogous
#2D819D #2D499D #492D9D
triadic
#2D499D #9D2D49 #499D2D
tetradic
#2D499D #9D2D81 #9D812D #2D9D49
square
#2D499D #9D2D81 #9D812D #2D9D49
split-complementary
#2D499D #9D492D #819D2D
monochromatic
#121D3E #1F336D #2D499D #3F61C8 #6F88D6

Accessibility & contrast

On white

8.23
#2D499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D499D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D499D#FFFFFF#000000##FFFFFF
##2D499D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d499d;
/* rgb */ color: rgb(45, 73, 157);
/* oklch */ color: oklch(43.3% 0.141 266.6);
Tailwind
colors: {
  custom: {
    50: '#757bbb',
    500: '#2d499d',
    950: '#000000',
  },
}
SCSS
$custom: #2d499d;
$custom-light: #757bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d499d",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 225,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.14085,
    "h": 266.6
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#2D499D
secondary
#BDA869
accent
#B949DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D499D

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

Preview Lab → · Contrast checker → · Palette generator →

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