#2A5490#2A5490

#2A5490 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.109 H 257.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2A5490
RGBrgb(42, 84, 144)
HSLhsl(215, 55%, 36%)
HSVhsv(215, 71%, 56%)
CMYKcmyk(70.8%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.69, 6.44, -37.47)
CIE-LCHlch(35.69, 38.02, 279.75°)
OKLaboklab(44.73% -0.0235 -0.1069)
OKLCHoklch(44.73% 0.109 257.6)
XYZxyz(9.1574, 8.8456, 27.6049)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5490 #90662A
analogous
#2A8790 #2A5490 #332A90
triadic
#2A5490 #902A54 #54902A
tetradic
#2A5490 #902A87 #90662A #2A9033
square
#2A5490 #902A87 #90662A #2A9033
split-complementary
#2A5490 #90332A #87902A
monochromatic
#0E1D31 #1C3861 #2A5490 #3870BF #6390D1

Accessibility & contrast

On white

7.58
#2A5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A5490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5490
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5490#FFFFFF#000000##FFFFFF
##2A54901.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a5490;
/* rgb */ color: rgb(42, 84, 144);
/* oklch */ color: oklch(44.7% 0.109 257.6);
Tailwind
colors: {
  custom: {
    50: '#7083b1',
    500: '#2a5490',
    950: '#000000',
  },
}
SCSS
$custom: #2a5490;
$custom-light: #7083b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5490",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 215.294,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.10942,
    "h": 257.6
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#2A5490
secondary
#B7935E
accent
#A14ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5490

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

Preview Lab → · Contrast checker → · Palette generator →

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