#2A3193#2A3193

#2A3193 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.158 H 272.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2A3193
RGBrgb(42, 49, 147)
HSLhsl(236, 56%, 37%)
HSVhsv(236, 71%, 58%)
CMYKcmyk(71.4%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.14, 31.06, -54.73)
CIE-LCHlch(26.14, 62.93, 299.58°)
OKLaboklab(37.59% 0.0078 -0.1581)
OKLCHoklch(37.59% 0.158 272.8)
XYZxyz(7.3179, 4.7947, 28.1379)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3193 #938C2A
analogous
#2A6693 #2A3193 #582A93
triadic
#2A3193 #932A31 #31932A
tetradic
#2A3193 #932A66 #938C2A #2A9358
square
#2A3193 #932A66 #938C2A #2A9358
split-complementary
#2A3193 #93582A #66932A
monochromatic
#0F1134 #1C2163 #2A3193 #3841C3 #656CD3

Accessibility & contrast

On white

10.72
#2A3193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3193
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3193#FFFFFF#000000##FFFFFF
##2A31931.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3193;
/* rgb */ color: rgb(42, 49, 147);
/* oklch */ color: oklch(37.6% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#7369b4',
    500: '#2a3193',
    950: '#000000',
  },
}
SCSS
$custom: #2a3193;
$custom-light: #7369b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3193",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 236,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.15829,
    "h": 272.8
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3193

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

Preview Lab → · Contrast checker → · Palette generator →

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