#2A488B#2A488B

#2A488B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.117 H 263.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2A488B
RGBrgb(42, 72, 139)
HSLhsl(221, 54%, 35%)
HSVhsv(221, 70%, 55%)
CMYKcmyk(69.8%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.78, 12.52, -40.65)
CIE-LCHlch(31.78, 42.54, 287.12°)
OKLaboklab(41.62% -0.0124 -0.1164)
OKLCHoklch(41.62% 0.117 263.9)
XYZxyz(7.9308, 6.9903, 25.3524)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A488B #8B6D2A
analogous
#2A788B #2A488B #3C2A8B
triadic
#2A488B #8B2A48 #488B2A
tetradic
#2A488B #8B2A78 #8B6D2A #2A8B3C
square
#2A488B #8B2A78 #8B6D2A #2A8B3C
split-complementary
#2A488B #8B3C2A #788B2A
monochromatic
#0E172D #1C305C #2A488B #3860BA #6083CF

Accessibility & contrast

On white

8.76
#2A488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A488B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A488B#FFFFFF#000000##FFFFFF
##2A488B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508D
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a488b;
/* rgb */ color: rgb(42, 72, 139);
/* oklch */ color: oklch(41.6% 0.117 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f7aad',
    500: '#2a488b',
    950: '#000000',
  },
}
SCSS
$custom: #2a488b;
$custom-light: #6f7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a488b",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 221.443,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.11708,
    "h": 263.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A488B

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

Preview Lab → · Contrast checker → · Palette generator →

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