#2A459B#2A459B

#2A459B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.144 H 266.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A459B
RGBrgb(42, 69, 155)
HSLhsl(226, 57%, 39%)
HSVhsv(226, 73%, 61%)
CMYKcmyk(72.9%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.07, 20.70, -49.97)
CIE-LCHlch(32.07, 54.08, 292.50°)
OKLaboklab(42.2% -0.0079 -0.1439)
OKLCHoklch(42.2% 0.144 266.9)
XYZxyz(8.9973, 7.1141, 31.9030)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A459B #9B802A
analogous
#2A7D9B #2A459B #472A9B
triadic
#2A459B #9B2A45 #459B2A
tetradic
#2A459B #9B2A7D #9B802A #2A9B47
square
#2A459B #9B2A7D #9B802A #2A9B47
split-complementary
#2A459B #9B472A #7D9B2A
monochromatic
#101A3B #1D306B #2A459B #395BC9 #6983D6

Accessibility & contrast

On white

8.67
#2A459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A459B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A459B#FFFFFF#000000##FFFFFF
##2A459B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a459b;
/* rgb */ color: rgb(42, 69, 155);
/* oklch */ color: oklch(42.2% 0.144 266.9);
Tailwind
colors: {
  custom: {
    50: '#7378b9',
    500: '#2a459b',
    950: '#000000',
  },
}
SCSS
$custom: #2a459b;
$custom-light: #7378b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a459b",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 225.664,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.1441,
    "h": 266.9
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#2A459B
secondary
#BDA864
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A459B

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

Preview Lab → · Contrast checker → · Palette generator →

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