#2A4A90#2A4A90

#2A4A90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.122 H 263.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4A90
RGBrgb(42, 74, 144)
HSLhsl(221, 55%, 36%)
HSVhsv(221, 71%, 56%)
CMYKcmyk(70.8%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.71, 13.09, -42.24)
CIE-LCHlch(32.71, 44.22, 287.22°)
OKLaboklab(42.44% -0.0136 -0.121)
OKLCHoklch(42.44% 0.122 263.6)
XYZxyz(8.4359, 7.4026, 27.3644)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A90 #90702A
analogous
#2A7D90 #2A4A90 #3D2A90
triadic
#2A4A90 #902A4A #4A902A
tetradic
#2A4A90 #902A7D #90702A #2A903D
square
#2A4A90 #902A7D #90702A #2A903D
split-complementary
#2A4A90 #903D2A #7D902A
monochromatic
#0E1931 #1C3261 #2A4A90 #3862BF #6386D1

Accessibility & contrast

On white

8.47
#2A4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A4A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A90
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A90#FFFFFF#000000##FFFFFF
##2A4A901.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4a90;
/* rgb */ color: rgb(42, 74, 144);
/* oklch */ color: oklch(42.4% 0.122 263.6);
Tailwind
colors: {
  custom: {
    50: '#707cb1',
    500: '#2a4a90',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a90;
$custom-light: #707cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a90",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 221.176,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.12181,
    "h": 263.6
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4A90

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

Preview Lab → · Contrast checker → · Palette generator →

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