#2A459A#2A459A

#2A459A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.143 H 266.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2A459A
RGBrgb(42, 69, 154)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(72.7%, 55.2%, 0%, 39.6%)
CIE-LABlab(31.99, 20.31, -49.48)
CIE-LCHlch(31.99, 53.49, 292.32°)
OKLaboklab(42.12% -0.0079 -0.1424)
OKLCHoklch(42.12% 0.143 266.8)
XYZxyz(8.9137, 7.0807, 31.4625)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A459A #9A7F2A
analogous
#2A7D9A #2A459A #472A9A
triadic
#2A459A #9A2A45 #459A2A
tetradic
#2A459A #9A2A7D #9A7F2A #2A9A47
square
#2A459A #9A2A7D #9A7F2A #2A9A47
split-complementary
#2A459A #9A472A #7D9A2A
monochromatic
#101A3A #1D2F6A #2A459A #385BC9 #6883D6

Accessibility & contrast

On white

8.69
#2A459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A459A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A459A#FFFFFF#000000##FFFFFF
##2A459A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a459a;
/* rgb */ color: rgb(42, 69, 154);
/* oklch */ color: oklch(42.1% 0.143 266.8);
Tailwind
colors: {
  custom: {
    50: '#7378b8',
    500: '#2a459a',
    950: '#000000',
  },
}
SCSS
$custom: #2a459a;
$custom-light: #7378b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a459a",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 225.536,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.14267,
    "h": 266.8
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#2A459A
secondary
#BCA763
accent
#BC47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A459A

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

Preview Lab → · Contrast checker → · Palette generator →

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