#2D499E#2D499E

#2D499E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.142 H 266.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2D499E
RGBrgb(45, 73, 158)
HSLhsl(225, 56%, 40%)
HSVhsv(225, 72%, 62%)
CMYKcmyk(71.5%, 53.8%, 0%, 38%)
CIE-LABlab(33.54, 19.58, -49.38)
CIE-LCHlch(33.54, 53.12, 291.63°)
OKLaboklab(43.42% -0.0083 -0.142)
OKLCHoklch(43.42% 0.142 266.7)
XYZxyz(9.6341, 7.7906, 33.3371)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D499E #9E822D
analogous
#2D819E #2D499E #4A2D9E
triadic
#2D499E #9E2D49 #499E2D
tetradic
#2D499E #9E2D81 #9E822D #2D9E4A
square
#2D499E #9E2D81 #9E822D #2D9E4A
split-complementary
#2D499E #9E4A2D #819E2D
monochromatic
#121D3F #1F336E #2D499E #4062C9 #6F89D6

Accessibility & contrast

On white

8.21
#2D499E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D499E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D499E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D499E#FFFFFF#000000##FFFFFF
##2D499E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d499e;
/* rgb */ color: rgb(45, 73, 158);
/* oklch */ color: oklch(43.4% 0.142 266.7);
Tailwind
colors: {
  custom: {
    50: '#757bbb',
    500: '#2d499e',
    950: '#000000',
  },
}
SCSS
$custom: #2d499e;
$custom-light: #757bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d499e",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 225.133,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.14226,
    "h": 266.7
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#2D499E
secondary
#BDA969
accent
#BA49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D499E

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

Preview Lab → · Contrast checker → · Palette generator →

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