#2A3290#2A3290

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

Color values

HEX#2A3290
RGBrgb(42, 50, 144)
HSLhsl(235, 55%, 36%)
HSVhsv(235, 71%, 56%)
CMYKcmyk(70.8%, 65.3%, 0%, 43.5%)
CIE-LABlab(26.12, 29.31, -52.92)
CIE-LCHlch(26.12, 60.50, 298.98°)
OKLaboklab(37.49% 0.0073 -0.1528)
OKLCHoklch(37.49% 0.153 272.7)
XYZxyz(7.1278, 4.7864, 26.9284)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3290 #90882A
analogous
#2A6590 #2A3290 #552A90
triadic
#2A3290 #902A32 #32902A
tetradic
#2A3290 #902A65 #90882A #2A9055
square
#2A3290 #902A65 #90882A #2A9055
split-complementary
#2A3290 #90552A #65902A
monochromatic
#0E1131 #1C2261 #2A3290 #3842BF #636CD1

Accessibility & contrast

On white

10.73
#2A3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3290
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3290#FFFFFF#000000##FFFFFF
##2A32901.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3290;
/* rgb */ color: rgb(42, 50, 144);
/* oklch */ color: oklch(37.5% 0.153 272.7);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2a3290',
    950: '#000000',
  },
}
SCSS
$custom: #2a3290;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3290",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 235.294,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.15296,
    "h": 272.7
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#2A3290
secondary
#B7B05E
accent
#D34ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3290

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

Preview Lab → · Contrast checker → · Palette generator →

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