#2A488A#2A488A

#2A488A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.116 H 263.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2A488A
RGBrgb(42, 72, 138)
HSLhsl(221, 53%, 35%)
HSVhsv(221, 70%, 54%)
CMYKcmyk(69.6%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.72, 12.14, -40.14)
CIE-LCHlch(31.72, 41.94, 286.82°)
OKLaboklab(41.55% -0.0126 -0.1149)
OKLCHoklch(41.55% 0.116 263.7)
XYZxyz(7.8580, 6.9612, 24.9693)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488A #8A6C2A
analogous
#2A788A #2A488A #3C2A8A
triadic
#2A488A #8A2A48 #488A2A
tetradic
#2A488A #8A2A78 #8A6C2A #2A8A3C
square
#2A488A #8A2A78 #8A6C2A #2A8A3C
split-complementary
#2A488A #8A3C2A #788A2A
monochromatic
#0D172C #1C305B #2A488A #3860B9 #6082CF

Accessibility & contrast

On white

8.78
#2A488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A488A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488A#FFFFFF#000000##FFFFFF
##2A488A1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#134689
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488a;
/* rgb */ color: rgb(42, 72, 138);
/* oklch */ color: oklch(41.5% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f7aad',
    500: '#2a488a',
    950: '#000000',
  },
}
SCSS
$custom: #2a488a;
$custom-light: #6f7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488a",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 221.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.11562,
    "h": 263.7
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#2A488A
secondary
#B4995B
accent
#AF4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A488A

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

Preview Lab → · Contrast checker → · Palette generator →

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