#2A4990#2A4990

#2A4990 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.123 H 264.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2A4990
RGBrgb(42, 73, 144)
HSLhsl(222, 55%, 36%)
HSVhsv(222, 71%, 56%)
CMYKcmyk(70.8%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.41, 13.77, -42.71)
CIE-LCHlch(32.41, 44.87, 287.87°)
OKLaboklab(42.21% -0.0126 -0.1224)
OKLCHoklch(42.21% 0.123 264.1)
XYZxyz(8.3697, 7.2701, 27.3423)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4990 #90712A
analogous
#2A7C90 #2A4990 #3E2A90
triadic
#2A4990 #902A49 #49902A
tetradic
#2A4990 #902A7C #90712A #2A903E
square
#2A4990 #902A7C #90712A #2A903E
split-complementary
#2A4990 #903E2A #7C902A
monochromatic
#0E1931 #1C3161 #2A4990 #3861BF #6385D1

Accessibility & contrast

On white

8.56
#2A4990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4990
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4990#FFFFFF#000000##FFFFFF
##2A49901.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4990;
/* rgb */ color: rgb(42, 73, 144);
/* oklch */ color: oklch(42.2% 0.123 264.1);
Tailwind
colors: {
  custom: {
    50: '#707bb1',
    500: '#2a4990',
    950: '#000000',
  },
}
SCSS
$custom: #2a4990;
$custom-light: #707bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4990",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 221.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.1231,
    "h": 264.1
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#2A4990
secondary
#B79C5E
accent
#B14ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4990

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

Preview Lab → · Contrast checker → · Palette generator →

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