#2A409F#2A409F

#2A409F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.156 H 268.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2A409F
RGBrgb(42, 64, 159)
HSLhsl(229, 58%, 39%)
HSVhsv(229, 74%, 62%)
CMYKcmyk(73.6%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.02, 25.58, -54.08)
CIE-LCHlch(31.02, 59.83, 295.32°)
OKLaboklab(41.52% -0.0037 -0.156)
OKLCHoklch(41.52% 0.156 268.6)
XYZxyz(9.0441, 6.6613, 33.6033)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409F #9F892A
analogous
#2A7B9F #2A409F #4F2A9F
triadic
#2A409F #9F2A40 #409F2A
tetradic
#2A409F #9F2A7B #9F892A #2A9F4F
square
#2A409F #9F2A7B #9F892A #2A9F4F
split-complementary
#2A409F #9F4F2A #7B9F2A
monochromatic
#10193E #1D2D6F #2A409F #3B56CB #6B80D8

Accessibility & contrast

On white

9.00
#2A409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A409F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409F#FFFFFF#000000##FFFFFF
##2A409F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a409f;
/* rgb */ color: rgb(42, 64, 159);
/* oklch */ color: oklch(41.5% 0.156 268.6);
Tailwind
colors: {
  custom: {
    50: '#7474bc',
    500: '#2a409f',
    950: '#000000',
  },
}
SCSS
$custom: #2a409f;
$custom-light: #7474bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409f",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 228.718,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.15609,
    "h": 268.6
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#2A409F
secondary
#BFAE66
accent
#C446E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A409F

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

Preview Lab → · Contrast checker → · Palette generator →

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