#2A3190#2A3190

#2A3190 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.154 H 273.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2A3190
RGBrgb(42, 49, 144)
HSLhsl(236, 55%, 36%)
HSVhsv(236, 71%, 56%)
CMYKcmyk(70.8%, 66%, 0%, 43.5%)
CIE-LABlab(25.87, 29.97, -53.33)
CIE-LCHlch(25.87, 61.18, 299.33°)
OKLaboklab(37.31% 0.0081 -0.154)
OKLCHoklch(37.31% 0.154 273)
XYZxyz(7.0855, 4.7018, 26.9143)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3190 #90892A
analogous
#2A6490 #2A3190 #562A90
triadic
#2A3190 #902A31 #31902A
tetradic
#2A3190 #902A64 #90892A #2A9056
square
#2A3190 #902A64 #90892A #2A9056
split-complementary
#2A3190 #90562A #64902A
monochromatic
#0E1131 #1C2161 #2A3190 #3841BF #636BD1

Accessibility & contrast

On white

10.82
#2A3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3190
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3190#FFFFFF#000000##FFFFFF
##2A31901.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3190;
/* rgb */ color: rgb(42, 49, 144);
/* oklch */ color: oklch(37.3% 0.154 273.0);
Tailwind
colors: {
  custom: {
    50: '#7269b1',
    500: '#2a3190',
    950: '#000000',
  },
}
SCSS
$custom: #2a3190;
$custom-light: #7269b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3190",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 235.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.15421,
    "h": 273
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#2A3190
secondary
#B7B15E
accent
#D44ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3190

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

Preview Lab → · Contrast checker → · Palette generator →

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