#2A3192#2A3192

#2A3192 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.157 H 272.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2A3192
RGBrgb(42, 49, 146)
HSLhsl(236, 55%, 37%)
HSVhsv(236, 71%, 57%)
CMYKcmyk(71.2%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.05, 30.70, -54.27)
CIE-LCHlch(26.05, 62.35, 299.50°)
OKLaboklab(37.5% 0.0079 -0.1567)
OKLCHoklch(37.5% 0.157 272.9)
XYZxyz(7.2397, 4.7635, 27.7265)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3192 #928B2A
analogous
#2A6592 #2A3192 #572A92
triadic
#2A3192 #922A31 #31922A
tetradic
#2A3192 #922A65 #928B2A #2A9257
square
#2A3192 #922A65 #928B2A #2A9257
split-complementary
#2A3192 #92572A #65922A
monochromatic
#0F1133 #1C2162 #2A3192 #3841C2 #646BD2

Accessibility & contrast

On white

10.75
#2A3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3192
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3192#FFFFFF#000000##FFFFFF
##2A31921.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3192;
/* rgb */ color: rgb(42, 49, 146);
/* oklch */ color: oklch(37.5% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#7369b3',
    500: '#2a3192',
    950: '#000000',
  },
}
SCSS
$custom: #2a3192;
$custom-light: #7369b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3192",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 235.962,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37496,
    "c": 0.15694,
    "h": 272.9
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#2A3192
secondary
#B8B25F
accent
#D549DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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