#2A4890#2A4890

#2A4890 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.124 H 264.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2A4890
RGBrgb(42, 72, 144)
HSLhsl(222, 55%, 36%)
HSVhsv(222, 71%, 56%)
CMYKcmyk(70.8%, 50%, 0%, 43.5%)
CIE-LABlab(32.12, 14.44, -43.18)
CIE-LCHlch(32.12, 45.53, 288.50°)
OKLaboklab(41.99% -0.0117 -0.1238)
OKLCHoklch(41.99% 0.124 264.6)
XYZxyz(8.3045, 7.1397, 27.3206)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4890 #90722A
analogous
#2A7B90 #2A4890 #3F2A90
triadic
#2A4890 #902A48 #48902A
tetradic
#2A4890 #902A7B #90722A #2A903F
square
#2A4890 #902A7B #90722A #2A903F
split-complementary
#2A4890 #903F2A #7B902A
monochromatic
#0E1931 #1C3061 #2A4890 #3860BF #6383D1

Accessibility & contrast

On white

8.65
#2A4890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4890
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4890#FFFFFF#000000##FFFFFF
##2A48901.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205193
Deuteranopia (green-blind)
#02478F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4890;
/* rgb */ color: rgb(42, 72, 144);
/* oklch */ color: oklch(42.0% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#707ab1',
    500: '#2a4890',
    950: '#000000',
  },
}
SCSS
$custom: #2a4890;
$custom-light: #707ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4890",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 222.353,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.12439,
    "h": 264.6
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#2A4890
secondary
#B79D5E
accent
#B24ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4890

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

Preview Lab → · Contrast checker → · Palette generator →

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