#2A3390#2A3390

#2A3390 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.152 H 272.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2A3390
RGBrgb(42, 51, 144)
HSLhsl(235, 55%, 36%)
HSVhsv(235, 71%, 56%)
CMYKcmyk(70.8%, 64.6%, 0%, 43.5%)
CIE-LABlab(26.37, 28.65, -52.51)
CIE-LCHlch(26.37, 59.82, 298.62°)
OKLaboklab(37.67% 0.0065 -0.1516)
OKLCHoklch(37.67% 0.152 272.5)
XYZxyz(7.1710, 4.8728, 26.9428)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3390 #90872A
analogous
#2A6690 #2A3390 #542A90
triadic
#2A3390 #902A33 #33902A
tetradic
#2A3390 #902A66 #90872A #2A9054
square
#2A3390 #902A66 #90872A #2A9054
split-complementary
#2A3390 #90542A #66902A
monochromatic
#0E1131 #1C2261 #2A3390 #3844BF #636DD1

Accessibility & contrast

On white

10.63
#2A3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3390
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3390#FFFFFF#000000##FFFFFF
##2A33901.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3390;
/* rgb */ color: rgb(42, 51, 144);
/* oklch */ color: oklch(37.7% 0.152 272.5);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2a3390',
    950: '#000000',
  },
}
SCSS
$custom: #2a3390;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3390",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 234.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.15172,
    "h": 272.5
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3390

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

Preview Lab → · Contrast checker → · Palette generator →

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