#2A459D#2A459D

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

Color values

HEX#2A459D
RGBrgb(42, 69, 157)
HSLhsl(226, 58%, 39%)
HSVhsv(226, 73%, 62%)
CMYKcmyk(73.2%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.22, 21.46, -50.93)
CIE-LCHlch(32.22, 55.27, 292.85°)
OKLaboklab(42.36% -0.0077 -0.1467)
OKLCHoklch(42.36% 0.147 267)
XYZxyz(9.1667, 7.1818, 32.7949)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A459D #9D822A
analogous
#2A7F9D #2A459D #492A9D
triadic
#2A459D #9D2A45 #459D2A
tetradic
#2A459D #9D2A7F #9D822A #2A9D49
square
#2A459D #9D2A7F #9D822A #2A9D49
split-complementary
#2A459D #9D492A #7F9D2A
monochromatic
#101B3C #1D306D #2A459D #3A5CCA #6A84D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A459D#FFFFFF#000000##FFFFFF
##2A459D1.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)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a459d;
/* rgb */ color: rgb(42, 69, 157);
/* oklch */ color: oklch(42.4% 0.147 267.0);
Tailwind
colors: {
  custom: {
    50: '#7478bb',
    500: '#2a459d',
    950: '#000000',
  },
}
SCSS
$custom: #2a459d;
$custom-light: #7478bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a459d",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 225.913,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.14691,
    "h": 267
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#2A459D
secondary
#BEA965
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A459D

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

Preview Lab → · Contrast checker → · Palette generator →

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