#2A439D#2A439D

#2A439D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.149 H 267.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A439D
RGBrgb(42, 67, 157)
HSLhsl(227, 58%, 39%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(73.2%, 57.3%, 0%, 38.4%)
CIE-LABlab(31.67, 22.81, -51.82)
CIE-LCHlch(31.67, 56.62, 293.76°)
OKLaboklab(41.95% -0.0061 -0.1494)
OKLCHoklch(41.95% 0.149 267.7)
XYZxyz(9.0457, 6.9399, 32.7546)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A439D #9D842A
analogous
#2A7D9D #2A439D #4B2A9D
triadic
#2A439D #9D2A43 #439D2A
tetradic
#2A439D #9D2A7D #9D842A #2A9D4B
square
#2A439D #9D2A7D #9D842A #2A9D4B
split-complementary
#2A439D #9D4B2A #7D9D2A
monochromatic
#101A3C #1D2E6D #2A439D #3A59CA #6A82D7

Accessibility & contrast

On white

8.79
#2A439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A439D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A439D#FFFFFF#000000##FFFFFF
##2A439D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a439d;
/* rgb */ color: rgb(42, 67, 157);
/* oklch */ color: oklch(41.9% 0.149 267.7);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2a439d',
    950: '#000000',
  },
}
SCSS
$custom: #2a439d;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a439d",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 226.957,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.14948,
    "h": 267.7
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#2A439D
secondary
#BEAA65
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A439D

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

Preview Lab → · Contrast checker → · Palette generator →

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