#2D459B#2D459B

#2D459B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.143 H 268.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2D459B
RGBrgb(45, 69, 155)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 61%)
CMYKcmyk(71%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.21, 21.13, -49.72)
CIE-LCHlch(32.21, 54.02, 293.03°)
OKLaboklab(42.35% -0.005 -0.1431)
OKLCHoklch(42.35% 0.143 268)
XYZxyz(9.1247, 7.1798, 31.9089)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459B #9B832D
analogous
#2D7C9B #2D459B #4C2D9B
triadic
#2D459B #9B2D45 #459B2D
tetradic
#2D459B #9B2D7C #9B832D #2D9B4C
square
#2D459B #9B2D7C #9B832D #2D9B4C
split-complementary
#2D459B #9B4C2D #7C9B2D
monochromatic
#111B3C #1F306C #2D459B #3E5CC7 #6E84D5

Accessibility & contrast

On white

8.62
#2D459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D459B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459B#FFFFFF#000000##FFFFFF
##2D459B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459b;
/* rgb */ color: rgb(45, 69, 155);
/* oklch */ color: oklch(42.3% 0.143 268.0);
Tailwind
colors: {
  custom: {
    50: '#7478b9',
    500: '#2d459b',
    950: '#000000',
  },
}
SCSS
$custom: #2d459b;
$custom-light: #7478b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459b",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 226.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.14318,
    "h": 268
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#2D459B
secondary
#BCAA68
accent
#BE49DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D459B

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

Preview Lab → · Contrast checker → · Palette generator →

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