#2A488E#2A488E

#2A488E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.121 H 264.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2A488E
RGBrgb(42, 72, 142)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 56%)
CMYKcmyk(70.4%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.99, 13.67, -42.17)
CIE-LCHlch(31.99, 44.33, 287.96°)
OKLaboklab(41.84% -0.012 -0.1209)
OKLCHoklch(41.84% 0.121 264.3)
XYZxyz(8.1530, 7.0791, 26.5227)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488E #8E702A
analogous
#2A7A8E #2A488E #3E2A8E
triadic
#2A488E #8E2A48 #488E2A
tetradic
#2A488E #8E2A7A #8E702A #2A8E3E
square
#2A488E #8E2A7A #8E702A #2A8E3E
split-complementary
#2A488E #8E3E2A #7A8E2A
monochromatic
#0E1830 #1C305F #2A488E #3860BD #6283D1

Accessibility & contrast

On white

8.69
#2A488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A488E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488E#FFFFFF#000000##FFFFFF
##2A488E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#09478D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488e;
/* rgb */ color: rgb(42, 72, 142);
/* oklch */ color: oklch(41.8% 0.121 264.3);
Tailwind
colors: {
  custom: {
    50: '#707aaf',
    500: '#2a488e',
    950: '#000000',
  },
}
SCSS
$custom: #2a488e;
$custom-light: #707aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488e",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 222,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.12148,
    "h": 264.3
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#2A488E
secondary
#B69C5D
accent
#B14ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A488E

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

Preview Lab → · Contrast checker → · Palette generator →

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