#2D459A#2D459A

#2D459A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.142 H 267.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2D459A
RGBrgb(45, 69, 154)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(70.8%, 55.2%, 0%, 39.6%)
CIE-LABlab(32.14, 20.75, -49.24)
CIE-LCHlch(32.14, 53.43, 292.85°)
OKLaboklab(42.27% -0.0051 -0.1417)
OKLCHoklch(42.27% 0.142 267.9)
XYZxyz(9.0410, 7.1463, 31.4685)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459A #9A822D
analogous
#2D7C9A #2D459A #4C2D9A
triadic
#2D459A #9A2D45 #459A2D
tetradic
#2D459A #9A2D7C #9A822D #2D9A4C
square
#2D459A #9A2D7C #9A822D #2D9A4C
split-complementary
#2D459A #9A4C2D #7C9A2D
monochromatic
#111B3B #1F306B #2D459A #3E5CC7 #6D84D4

Accessibility & contrast

On white

8.64
#2D459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D459A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459A#FFFFFF#000000##FFFFFF
##2D459A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459a;
/* rgb */ color: rgb(45, 69, 154);
/* oklch */ color: oklch(42.3% 0.142 267.9);
Tailwind
colors: {
  custom: {
    50: '#7478b8',
    500: '#2d459a',
    950: '#000000',
  },
}
SCSS
$custom: #2d459a;
$custom-light: #7478b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459a",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 226.789,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.14175,
    "h": 267.9
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#2D459A
secondary
#BBA967
accent
#BD4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D459A

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

Preview Lab → · Contrast checker → · Palette generator →

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