#2A488D#2A488D

#2A488D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.120 H 264.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2A488D
RGBrgb(42, 72, 141)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 55%)
CMYKcmyk(70.2%, 48.9%, 0%, 44.7%)
CIE-LABlab(31.92, 13.29, -41.67)
CIE-LCHlch(31.92, 43.73, 287.69°)
OKLaboklab(41.77% -0.0121 -0.1194)
OKLCHoklch(41.77% 0.12 264.2)
XYZxyz(8.0782, 7.0493, 26.1290)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488D #8D6F2A
analogous
#2A798D #2A488D #3D2A8D
triadic
#2A488D #8D2A48 #488D2A
tetradic
#2A488D #8D2A79 #8D6F2A #2A8D3D
square
#2A488D #8D2A79 #8D6F2A #2A8D3D
split-complementary
#2A488D #8D3D2A #798D2A
monochromatic
#0E182F #1C305E #2A488D #3860BC #6183D0

Accessibility & contrast

On white

8.71
#2A488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A488D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488D#FFFFFF#000000##FFFFFF
##2A488D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488d;
/* rgb */ color: rgb(42, 72, 141);
/* oklch */ color: oklch(41.8% 0.120 264.2);
Tailwind
colors: {
  custom: {
    50: '#707aaf',
    500: '#2a488d',
    950: '#000000',
  },
}
SCSS
$custom: #2a488d;
$custom-light: #707aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488d",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 221.818,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.12001,
    "h": 264.2
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#2A488D
secondary
#B69B5D
accent
#B14ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A488D

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

Preview Lab → · Contrast checker → · Palette generator →

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