#2A489A#2A489A

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

Color values

HEX#2A489A
RGBrgb(42, 72, 154)
HSLhsl(224, 57%, 38%)
HSVhsv(224, 73%, 60%)
CMYKcmyk(72.7%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.83, 18.29, -48.12)
CIE-LCHlch(32.83, 51.48, 290.81°)
OKLaboklab(42.75% -0.0105 -0.1384)
OKLCHoklch(42.75% 0.139 265.7)
XYZxyz(9.1029, 7.4591, 31.5256)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489A #9A7C2A
analogous
#2A809A #2A489A #442A9A
triadic
#2A489A #9A2A48 #489A2A
tetradic
#2A489A #9A2A80 #9A7C2A #2A9A44
square
#2A489A #9A2A80 #9A7C2A #2A9A44
split-complementary
#2A489A #9A442A #809A2A
monochromatic
#101B3A #1D326A #2A489A #385FC9 #6886D6

Accessibility & contrast

On white

8.43
#2A489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489A#FFFFFF#000000##FFFFFF
##2A489A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a489a;
/* rgb */ color: rgb(42, 72, 154);
/* oklch */ color: oklch(42.8% 0.139 265.7);
Tailwind
colors: {
  custom: {
    50: '#737ab8',
    500: '#2a489a',
    950: '#000000',
  },
}
SCSS
$custom: #2a489a;
$custom-light: #737ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489a",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 223.929,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.1388,
    "h": 265.7
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#2A489A
secondary
#BCA563
accent
#B747E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A489A

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

Preview Lab → · Contrast checker → · Palette generator →

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