#2A487A#2A487A

#2A487A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.092 H 260.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2A487A
RGBrgb(42, 72, 122)
HSLhsl(218, 49%, 32%)
HSVhsv(218, 66%, 48%)
CMYKcmyk(65.6%, 41%, 0%, 52.2%)
CIE-LABlab(30.72, 6.04, -31.83)
CIE-LCHlch(30.72, 32.39, 280.75°)
OKLaboklab(40.45% -0.0158 -0.0905)
OKLCHoklch(40.45% 0.092 260.1)
XYZxyz(6.7838, 6.5315, 19.3118)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A487A #7A5C2A
analogous
#2A707A #2A487A #342A7A
triadic
#2A487A #7A2A48 #487A2A
tetradic
#2A487A #7A2A70 #7A5C2A #2A7A34
square
#2A487A #7A2A70 #7A5C2A #2A7A34
split-complementary
#2A487A #7A342A #707A2A
monochromatic
#0B121F #1A2D4C #2A487A #3A63A8 #5982C6

Accessibility & contrast

On white

9.11
#2A487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A487A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A487A#FFFFFF#000000##FFFFFF
##2A487A1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a487a;
/* rgb */ color: rgb(42, 72, 122);
/* oklch */ color: oklch(40.5% 0.092 260.1);
Tailwind
colors: {
  custom: {
    50: '#6c7aa1',
    500: '#2a487a',
    950: '#000000',
  },
}
SCSS
$custom: #2a487a;
$custom-light: #6c7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a487a",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 217.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.09188,
    "h": 260.1
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#2A487A
secondary
#AB8B55
accent
#A54FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2A487A

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

Preview Lab → · Contrast checker → · Palette generator →

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