#2A459C#2A459C

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

Color values

HEX#2A459C
RGBrgb(42, 69, 156)
HSLhsl(226, 58%, 39%)
HSVhsv(226, 73%, 61%)
CMYKcmyk(73.1%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.14, 21.08, -50.45)
CIE-LCHlch(32.14, 54.68, 292.68°)
OKLaboklab(42.28% -0.0078 -0.1453)
OKLCHoklch(42.28% 0.146 266.9)
XYZxyz(9.0816, 7.1478, 32.3471)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A459C #9C812A
analogous
#2A7E9C #2A459C #482A9C
triadic
#2A459C #9C2A45 #459C2A
tetradic
#2A459C #9C2A7E #9C812A #2A9C48
square
#2A459C #9C2A7E #9C812A #2A9C48
split-complementary
#2A459C #9C482A #7E9C2A
monochromatic
#101A3C #1D306C #2A459C #395CCA #6A83D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A459C#FFFFFF#000000##FFFFFF
##2A459C1.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)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a459c;
/* rgb */ color: rgb(42, 69, 156);
/* oklch */ color: oklch(42.3% 0.146 266.9);
Tailwind
colors: {
  custom: {
    50: '#7378ba',
    500: '#2a459c',
    950: '#000000',
  },
}
SCSS
$custom: #2a459c;
$custom-light: #7378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a459c",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 225.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.14551,
    "h": 266.9
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#2A459C
secondary
#BDA865
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A459C

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

Preview Lab → · Contrast checker → · Palette generator →

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