#2A3388#2A3388

#2A3388 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.141 H 272.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2A3388
RGBrgb(42, 51, 136)
HSLhsl(234, 53%, 35%)
HSVhsv(234, 69%, 53%)
CMYKcmyk(69.1%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.67, 25.69, -48.69)
CIE-LCHlch(25.67, 55.05, 297.82°)
OKLaboklab(36.95% 0.0069 -0.1403)
OKLCHoklch(36.95% 0.141 272.8)
XYZxyz(6.5811, 4.6369, 23.8360)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3388 #887F2A
analogous
#2A6288 #2A3388 #502A88
triadic
#2A3388 #882A33 #33882A
tetradic
#2A3388 #882A62 #887F2A #2A8850
square
#2A3388 #882A62 #887F2A #2A8850
split-complementary
#2A3388 #88502A #62882A
monochromatic
#0D102A #1C2159 #2A3388 #3845B7 #5F69CE

Accessibility & contrast

On white

10.90
#2A3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A3388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3388
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3388#FFFFFF#000000##FFFFFF
##2A33881.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3388;
/* rgb */ color: rgb(42, 51, 136);
/* oklch */ color: oklch(36.9% 0.141 272.8);
Tailwind
colors: {
  custom: {
    50: '#706aab',
    500: '#2a3388',
    950: '#000000',
  },
}
SCSS
$custom: #2a3388;
$custom-light: #706aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3388",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 234.255,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.14052,
    "h": 272.8
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#2A3388
secondary
#B3AB5B
accent
#CE4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3388

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

Preview Lab → · Contrast checker → · Palette generator →

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