#2A489B#2A489B

#2A489B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.140 H 265.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2A489B
RGBrgb(42, 72, 155)
HSLhsl(224, 57%, 39%)
HSVhsv(224, 73%, 61%)
CMYKcmyk(72.9%, 53.5%, 0%, 39.2%)
CIE-LABlab(32.90, 18.67, -48.61)
CIE-LCHlch(32.90, 52.07, 291.01°)
OKLaboklab(42.83% -0.0104 -0.1398)
OKLCHoklch(42.83% 0.14 265.7)
XYZxyz(9.1865, 7.4926, 31.9661)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489B #9B7D2A
analogous
#2A809B #2A489B #442A9B
triadic
#2A489B #9B2A48 #489B2A
tetradic
#2A489B #9B2A80 #9B7D2A #2A9B44
square
#2A489B #9B2A80 #9B7D2A #2A9B44
split-complementary
#2A489B #9B442A #809B2A
monochromatic
#101B3B #1D326B #2A489B #395FC9 #6986D6

Accessibility & contrast

On white

8.40
#2A489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489B#FFFFFF#000000##FFFFFF
##2A489B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a489b;
/* rgb */ color: rgb(42, 72, 155);
/* oklch */ color: oklch(42.8% 0.140 265.7);
Tailwind
colors: {
  custom: {
    50: '#737ab9',
    500: '#2a489b',
    950: '#000000',
  },
}
SCSS
$custom: #2a489b;
$custom-light: #737ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489b",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 224.071,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.14022,
    "h": 265.7
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#2A489B
secondary
#BDA564
accent
#B847E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A489B

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

Preview Lab → · Contrast checker → · Palette generator →

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