#2A4490#2A4490

#2A4490 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.130 H 266.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4490
RGBrgb(42, 68, 144)
HSLhsl(225, 55%, 36%)
HSVhsv(225, 71%, 56%)
CMYKcmyk(70.8%, 52.8%, 0%, 43.5%)
CIE-LABlab(30.97, 17.16, -45.03)
CIE-LCHlch(30.97, 48.19, 290.85°)
OKLaboklab(41.11% -0.0079 -0.1294)
OKLCHoklch(41.11% 0.13 266.5)
XYZxyz(8.0543, 6.6393, 27.2372)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4490 #90762A
analogous
#2A7790 #2A4490 #432A90
triadic
#2A4490 #902A44 #44902A
tetradic
#2A4490 #902A77 #90762A #2A9043
square
#2A4490 #902A77 #90762A #2A9043
split-complementary
#2A4490 #90432A #77902A
monochromatic
#0E1731 #1C2E61 #2A4490 #385ABF #637FD1

Accessibility & contrast

On white

9.02
#2A4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4490
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4490#FFFFFF#000000##FFFFFF
##2A44901.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4490;
/* rgb */ color: rgb(42, 68, 144);
/* oklch */ color: oklch(41.1% 0.130 266.5);
Tailwind
colors: {
  custom: {
    50: '#7177b1',
    500: '#2a4490',
    950: '#000000',
  },
}
SCSS
$custom: #2a4490;
$custom-light: #7177b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4490",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 224.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.12962,
    "h": 266.5
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#2A4490
secondary
#B7A15E
accent
#B84ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #2A4490

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

Preview Lab → · Contrast checker → · Palette generator →

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