#2A3392#2A3392

#2A3392 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.154 H 272.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2A3392
RGBrgb(42, 51, 146)
HSLhsl(235, 55%, 37%)
HSVhsv(235, 71%, 57%)
CMYKcmyk(71.2%, 65.1%, 0%, 42.7%)
CIE-LABlab(26.55, 29.39, -53.45)
CIE-LCHlch(26.55, 61.00, 298.80°)
OKLaboklab(37.86% 0.0064 -0.1543)
OKLCHoklch(37.86% 0.154 272.4)
XYZxyz(7.3252, 4.9345, 27.7550)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3392 #92892A
analogous
#2A6792 #2A3392 #552A92
triadic
#2A3392 #922A33 #33922A
tetradic
#2A3392 #922A67 #92892A #2A9255
square
#2A3392 #922A67 #92892A #2A9255
split-complementary
#2A3392 #92552A #67922A
monochromatic
#0F1233 #1C2262 #2A3392 #3844C2 #646ED2

Accessibility & contrast

On white

10.57
#2A3392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A3392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3392
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3392#FFFFFF#000000##FFFFFF
##2A33921.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3392;
/* rgb */ color: rgb(42, 51, 146);
/* oklch */ color: oklch(37.9% 0.154 272.4);
Tailwind
colors: {
  custom: {
    50: '#726ab3',
    500: '#2a3392',
    950: '#000000',
  },
}
SCSS
$custom: #2a3392;
$custom-light: #726ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3392",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 234.808,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3786,
    "c": 0.15447,
    "h": 272.4
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#2A3392
secondary
#B8B15F
accent
#D249DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3392

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

Preview Lab → · Contrast checker → · Palette generator →

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