#2D459D#2D459D

#2D459D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.146 H 268.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2D459D
RGBrgb(45, 69, 157)
HSLhsl(227, 55%, 40%)
HSVhsv(227, 71%, 62%)
CMYKcmyk(71.3%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.36, 21.89, -50.69)
CIE-LCHlch(32.36, 55.21, 293.36°)
OKLaboklab(42.51% -0.0049 -0.1459)
OKLCHoklch(42.51% 0.146 268.1)
XYZxyz(9.2940, 7.2475, 32.8009)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459D #9D852D
analogous
#2D7D9D #2D459D #4D2D9D
triadic
#2D459D #9D2D45 #459D2D
tetradic
#2D459D #9D2D7D #9D852D #2D9D4D
square
#2D459D #9D2D7D #9D852D #2D9D4D
split-complementary
#2D459D #9D4D2D #7D9D2D
monochromatic
#121B3E #1F306D #2D459D #3F5DC8 #6F85D6

Accessibility & contrast

On white

8.57
#2D459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D459D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459D#FFFFFF#000000##FFFFFF
##2D459D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459d;
/* rgb */ color: rgb(45, 69, 157);
/* oklch */ color: oklch(42.5% 0.146 268.1);
Tailwind
colors: {
  custom: {
    50: '#7578bb',
    500: '#2d459d',
    950: '#000000',
  },
}
SCSS
$custom: #2d459d;
$custom-light: #7578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459d",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 227.143,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.14601,
    "h": 268.1
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#2D459D
secondary
#BDAB69
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D459D

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

Preview Lab → · Contrast checker → · Palette generator →

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