#2A3293#2A3293

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

Color values

HEX#2A3293
RGBrgb(42, 50, 147)
HSLhsl(235, 56%, 37%)
HSVhsv(235, 71%, 58%)
CMYKcmyk(71.4%, 66%, 0%, 42.4%)
CIE-LABlab(26.39, 30.41, -54.33)
CIE-LCHlch(26.39, 62.26, 299.24°)
OKLaboklab(37.77% 0.0071 -0.1569)
OKLCHoklch(37.77% 0.157 272.6)
XYZxyz(7.3601, 4.8793, 28.1520)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3293 #938B2A
analogous
#2A6693 #2A3293 #572A93
triadic
#2A3293 #932A32 #32932A
tetradic
#2A3293 #932A66 #938B2A #2A9357
square
#2A3293 #932A66 #938B2A #2A9357
split-complementary
#2A3293 #93572A #66932A
monochromatic
#0F1234 #1C2263 #2A3293 #3842C3 #656DD3

Accessibility & contrast

On white

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

On black

1.98
#2A3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A3293#FFFFFF#000000##FFFFFF
##2A32931.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3293;
/* rgb */ color: rgb(42, 50, 147);
/* oklch */ color: oklch(37.8% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#736ab4',
    500: '#2a3293',
    950: '#000000',
  },
}
SCSS
$custom: #2a3293;
$custom-light: #736ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3293",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 235.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.15707,
    "h": 272.6
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#2A3293
secondary
#B9B260
accent
#D349DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3293

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

Preview Lab → · Contrast checker → · Palette generator →

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