#2A488F#2A488F

#2A488F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.123 H 264.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A488F
RGBrgb(42, 72, 143)
HSLhsl(222, 55%, 36%)
HSVhsv(222, 71%, 56%)
CMYKcmyk(70.6%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.05, 14.06, -42.67)
CIE-LCHlch(32.05, 44.93, 288.23°)
OKLaboklab(41.91% -0.0118 -0.1224)
OKLCHoklch(41.91% 0.123 264.5)
XYZxyz(8.2284, 7.1093, 26.9199)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488F #8F712A
analogous
#2A7B8F #2A488F #3F2A8F
triadic
#2A488F #8F2A48 #488F2A
tetradic
#2A488F #8F2A7B #8F712A #2A8F3F
square
#2A488F #8F2A7B #8F712A #2A8F3F
split-complementary
#2A488F #8F3F2A #7B8F2A
monochromatic
#0E1830 #1C3060 #2A488F #3860BE #6283D1

Accessibility & contrast

On white

8.67
#2A488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A488F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488F#FFFFFF#000000##FFFFFF
##2A488F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488f;
/* rgb */ color: rgb(42, 72, 143);
/* oklch */ color: oklch(41.9% 0.123 264.5);
Tailwind
colors: {
  custom: {
    50: '#707ab0',
    500: '#2a488f',
    950: '#000000',
  },
}
SCSS
$custom: #2a488f;
$custom-light: #707ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488f",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 222.178,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.12294,
    "h": 264.5
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#2A488F
secondary
#B79C5E
accent
#B24ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A488F

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

Preview Lab → · Contrast checker → · Palette generator →

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