#2A3588#2A3588

#2A3588 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.138 H 272.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2A3588
RGBrgb(42, 53, 136)
HSLhsl(233, 53%, 35%)
HSVhsv(233, 69%, 53%)
CMYKcmyk(69.1%, 61%, 0%, 46.7%)
CIE-LABlab(26.20, 24.33, -47.82)
CIE-LCHlch(26.20, 53.66, 296.97°)
OKLaboklab(37.34% 0.0051 -0.1378)
OKLCHoklch(37.34% 0.138 272.1)
XYZxyz(6.6704, 4.8154, 23.8657)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3588 #887D2A
analogous
#2A6488 #2A3588 #4E2A88
triadic
#2A3588 #882A35 #35882A
tetradic
#2A3588 #882A64 #887D2A #2A884E
square
#2A3588 #882A64 #887D2A #2A884E
split-complementary
#2A3588 #884E2A #64882A
monochromatic
#0D112A #1C2359 #2A3588 #3847B7 #5F6CCE

Accessibility & contrast

On white

10.70
#2A3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3588
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3588#FFFFFF#000000##FFFFFF
##2A35881.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3588;
/* rgb */ color: rgb(42, 53, 136);
/* oklch */ color: oklch(37.3% 0.138 272.1);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2a3588',
    950: '#000000',
  },
}
SCSS
$custom: #2a3588;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3588",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 232.979,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37337,
    "c": 0.1379,
    "h": 272.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#2A3588
secondary
#B3A95B
accent
#CB4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3588

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

Preview Lab → · Contrast checker → · Palette generator →

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