#2A488C#2A488C

#2A488C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.119 H 264.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2A488C
RGBrgb(42, 72, 140)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 55%)
CMYKcmyk(70%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.85, 12.90, -41.16)
CIE-LCHlch(31.85, 43.14, 287.41°)
OKLaboklab(41.69% -0.0123 -0.1179)
OKLCHoklch(41.69% 0.119 264)
XYZxyz(8.0042, 7.0196, 25.7390)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488C #8C6E2A
analogous
#2A798C #2A488C #3D2A8C
triadic
#2A488C #8C2A48 #488C2A
tetradic
#2A488C #8C2A79 #8C6E2A #2A8C3D
square
#2A488C #8C2A79 #8C6E2A #2A8C3D
split-complementary
#2A488C #8C3D2A #798C2A
monochromatic
#0E182E #1C305D #2A488C #3860BB #6183D0

Accessibility & contrast

On white

8.74
#2A488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A488C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488C#FFFFFF#000000##FFFFFF
##2A488C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488c;
/* rgb */ color: rgb(42, 72, 140);
/* oklch */ color: oklch(41.7% 0.119 264.0);
Tailwind
colors: {
  custom: {
    50: '#707aae',
    500: '#2a488c',
    950: '#000000',
  },
}
SCSS
$custom: #2a488c;
$custom-light: #707aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488c",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 221.633,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.11856,
    "h": 264
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#2A488C
secondary
#B59A5C
accent
#B04BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A488C

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

Preview Lab → · Contrast checker → · Palette generator →

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