#2A3490#2A3490

#2A3490 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.150 H 272.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2A3490
RGBrgb(42, 52, 144)
HSLhsl(234, 55%, 36%)
HSVhsv(234, 71%, 56%)
CMYKcmyk(70.8%, 63.9%, 0%, 43.5%)
CIE-LABlab(26.62, 27.99, -52.10)
CIE-LCHlch(26.62, 59.14, 298.25°)
OKLaboklab(37.86% 0.0058 -0.1504)
OKLCHoklch(37.86% 0.15 272.2)
XYZxyz(7.2152, 4.9611, 26.9575)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3490 #90862A
analogous
#2A6790 #2A3490 #532A90
triadic
#2A3490 #902A34 #34902A
tetradic
#2A3490 #902A67 #90862A #2A9053
square
#2A3490 #902A67 #90862A #2A9053
split-complementary
#2A3490 #90532A #67902A
monochromatic
#0E1231 #1C2361 #2A3490 #3845BF #636ED1

Accessibility & contrast

On white

10.54
#2A3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A3490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3490
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3490#FFFFFF#000000##FFFFFF
##2A34901.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3490;
/* rgb */ color: rgb(42, 52, 144);
/* oklch */ color: oklch(37.9% 0.150 272.2);
Tailwind
colors: {
  custom: {
    50: '#726bb1',
    500: '#2a3490',
    950: '#000000',
  },
}
SCSS
$custom: #2a3490;
$custom-light: #726bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3490",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 234.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.15046,
    "h": 272.2
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2A3490
secondary
#B7AF5E
accent
#D04ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3490

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

Preview Lab → · Contrast checker → · Palette generator →

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