#2A4590#2A4590

#2A4590 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.128 H 266.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2A4590
RGBrgb(42, 69, 144)
HSLhsl(224, 55%, 36%)
HSVhsv(224, 71%, 56%)
CMYKcmyk(70.8%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.26, 16.48, -44.57)
CIE-LCHlch(31.26, 47.52, 290.29°)
OKLaboklab(41.33% -0.0089 -0.128)
OKLCHoklch(41.33% 0.128 266)
XYZxyz(8.1153, 6.7613, 27.2575)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4590 #90752A
analogous
#2A7890 #2A4590 #422A90
triadic
#2A4590 #902A45 #45902A
tetradic
#2A4590 #902A78 #90752A #2A9042
square
#2A4590 #902A78 #90752A #2A9042
split-complementary
#2A4590 #90422A #78902A
monochromatic
#0E1831 #1C2E61 #2A4590 #385CBF #6380D1

Accessibility & contrast

On white

8.93
#2A4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4590
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4590#FFFFFF#000000##FFFFFF
##2A45901.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4590;
/* rgb */ color: rgb(42, 69, 144);
/* oklch */ color: oklch(41.3% 0.128 266.0);
Tailwind
colors: {
  custom: {
    50: '#7178b1',
    500: '#2a4590',
    950: '#000000',
  },
}
SCSS
$custom: #2a4590;
$custom-light: #7178b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4590",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 224.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.12831,
    "h": 266
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2A4590
secondary
#B7A05E
accent
#B74ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #2A4590

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

Preview Lab → · Contrast checker → · Palette generator →

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