#2A439E#2A439E

#2A439E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.151 H 267.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2A439E
RGBrgb(42, 67, 158)
HSLhsl(227, 58%, 39%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(73.4%, 57.6%, 0%, 38%)
CIE-LABlab(31.75, 23.19, -52.30)
CIE-LCHlch(31.75, 57.21, 293.91°)
OKLaboklab(42.03% -0.0061 -0.1508)
OKLCHoklch(42.03% 0.151 267.7)
XYZxyz(9.1314, 6.9742, 33.2060)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A439E #9E852A
analogous
#2A7D9E #2A439E #4B2A9E
triadic
#2A439E #9E2A43 #439E2A
tetradic
#2A439E #9E2A7D #9E852A #2A9E4B
square
#2A439E #9E2A7D #9E852A #2A9E4B
split-complementary
#2A439E #9E4B2A #7D9E2A
monochromatic
#101A3D #1D2E6E #2A439E #3A5ACB #6B82D8

Accessibility & contrast

On white

8.77
#2A439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A439E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A439E#FFFFFF#000000##FFFFFF
##2A439E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a439e;
/* rgb */ color: rgb(42, 67, 158);
/* oklch */ color: oklch(42.0% 0.151 267.7);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2a439e',
    950: '#000000',
  },
}
SCSS
$custom: #2a439e;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a439e",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 227.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.15088,
    "h": 267.7
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#2A439E
secondary
#BEAB66
accent
#C047E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A439E

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

Preview Lab → · Contrast checker → · Palette generator →

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