#2A459F#2A459F

#2A459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.150 H 267.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2A459F
RGBrgb(42, 69, 159)
HSLhsl(226, 58%, 39%)
HSVhsv(226, 74%, 62%)
CMYKcmyk(73.6%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.37, 22.23, -51.89)
CIE-LCHlch(32.37, 56.45, 293.19°)
OKLaboklab(42.52% -0.0076 -0.1495)
OKLCHoklch(42.52% 0.15 267.1)
XYZxyz(9.3388, 7.2507, 33.7015)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A459F #9F842A
analogous
#2A809F #2A459F #4A2A9F
triadic
#2A459F #9F2A45 #459F2A
tetradic
#2A459F #9F2A80 #9F842A #2A9F4A
square
#2A459F #9F2A80 #9F842A #2A9F4A
split-complementary
#2A459F #9F4A2A #809F2A
monochromatic
#101B3E #1D306F #2A459F #3B5CCB #6B84D8

Accessibility & contrast

On white

8.57
#2A459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A459F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A459F#FFFFFF#000000##FFFFFF
##2A459F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a459f;
/* rgb */ color: rgb(42, 69, 159);
/* oklch */ color: oklch(42.5% 0.150 267.1);
Tailwind
colors: {
  custom: {
    50: '#7478bc',
    500: '#2a459f',
    950: '#000000',
  },
}
SCSS
$custom: #2a459f;
$custom-light: #7478bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a459f",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 226.154,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.14972,
    "h": 267.1
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#2A459F
secondary
#BFAA66
accent
#BE46E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A459F

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

Preview Lab → · Contrast checker → · Palette generator →

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