#2A3488#2A3488

#2A3488 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.139 H 272.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2A3488
RGBrgb(42, 52, 136)
HSLhsl(234, 53%, 35%)
HSVhsv(234, 69%, 53%)
CMYKcmyk(69.1%, 61.8%, 0%, 46.7%)
CIE-LABlab(25.94, 25.01, -48.26)
CIE-LCHlch(25.94, 54.35, 297.40°)
OKLaboklab(37.14% 0.006 -0.1391)
OKLCHoklch(37.14% 0.139 272.5)
XYZxyz(6.6253, 4.7252, 23.8507)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3488 #887E2A
analogous
#2A6388 #2A3488 #4F2A88
triadic
#2A3488 #882A34 #34882A
tetradic
#2A3488 #882A63 #887E2A #2A884F
square
#2A3488 #882A63 #887E2A #2A884F
split-complementary
#2A3488 #884F2A #63882A
monochromatic
#0D102A #1C2259 #2A3488 #3846B7 #5F6BCE

Accessibility & contrast

On white

10.80
#2A3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3488
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3488#FFFFFF#000000##FFFFFF
##2A34881.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3488;
/* rgb */ color: rgb(42, 52, 136);
/* oklch */ color: oklch(37.1% 0.139 272.5);
Tailwind
colors: {
  custom: {
    50: '#706bab',
    500: '#2a3488',
    950: '#000000',
  },
}
SCSS
$custom: #2a3488;
$custom-light: #706bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3488",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 233.617,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37141,
    "c": 0.13921,
    "h": 272.5
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#2A3488
secondary
#B3AA5B
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3488

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

Preview Lab → · Contrast checker → · Palette generator →

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