#2A489D#2A489D

#2A489D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.143 H 265.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2A489D
RGBrgb(42, 72, 157)
HSLhsl(224, 58%, 39%)
HSVhsv(224, 73%, 62%)
CMYKcmyk(73.2%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.05, 19.44, -49.58)
CIE-LCHlch(33.05, 53.26, 291.41°)
OKLaboklab(42.99% -0.0102 -0.1427)
OKLCHoklch(42.99% 0.143 265.9)
XYZxyz(9.3559, 7.5603, 32.8580)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489D #9D7F2A
analogous
#2A829D #2A489D #462A9D
triadic
#2A489D #9D2A48 #489D2A
tetradic
#2A489D #9D2A82 #9D7F2A #2A9D46
square
#2A489D #9D2A82 #9D7F2A #2A9D46
split-complementary
#2A489D #9D462A #829D2A
monochromatic
#101C3C #1D326D #2A489D #3A60CA #6A87D7

Accessibility & contrast

On white

8.36
#2A489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489D#FFFFFF#000000##FFFFFF
##2A489D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0953A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a489d;
/* rgb */ color: rgb(42, 72, 157);
/* oklch */ color: oklch(43.0% 0.143 265.9);
Tailwind
colors: {
  custom: {
    50: '#737abb',
    500: '#2a489d',
    950: '#000000',
  },
}
SCSS
$custom: #2a489d;
$custom-light: #737abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489d",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 224.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.14306,
    "h": 265.9
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#2A489D
secondary
#BEA765
accent
#B947E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A489D

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

Preview Lab → · Contrast checker → · Palette generator →

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