#2A489E#2A489E

#2A489E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.144 H 266.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2A489E
RGBrgb(42, 72, 158)
HSLhsl(224, 58%, 39%)
HSVhsv(224, 73%, 62%)
CMYKcmyk(73.4%, 54.4%, 0%, 38%)
CIE-LABlab(33.12, 19.82, -50.06)
CIE-LCHlch(33.12, 53.85, 291.60°)
OKLaboklab(43.07% -0.0101 -0.1441)
OKLCHoklch(43.07% 0.144 266)
XYZxyz(9.4416, 7.5946, 33.3094)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489E #9E802A
analogous
#2A829E #2A489E #462A9E
triadic
#2A489E #9E2A48 #489E2A
tetradic
#2A489E #9E2A82 #9E802A #2A9E46
square
#2A489E #9E2A82 #9E802A #2A9E46
split-complementary
#2A489E #9E462A #829E2A
monochromatic
#101C3D #1D326E #2A489E #3A60CB #6B87D8

Accessibility & contrast

On white

8.34
#2A489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489E#FFFFFF#000000##FFFFFF
##2A489E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0653A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a489e;
/* rgb */ color: rgb(42, 72, 158);
/* oklch */ color: oklch(43.1% 0.144 266.0);
Tailwind
colors: {
  custom: {
    50: '#747abb',
    500: '#2a489e',
    950: '#000000',
  },
}
SCSS
$custom: #2a489e;
$custom-light: #747abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489e",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 224.483,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.14448,
    "h": 266
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#2A489E
secondary
#BEA766
accent
#B947E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A489E

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

Preview Lab → · Contrast checker → · Palette generator →

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