#2A36B3#2A36B3

#2A36B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.194 H 270.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2A36B3
RGBrgb(42, 54, 179)
HSLhsl(235, 62%, 43%)
HSVhsv(235, 77%, 70%)
CMYKcmyk(76.5%, 69.8%, 0%, 29.8%)
CIE-LABlab(30.36, 39.38, -67.17)
CIE-LCHlch(30.36, 77.86, 300.38°)
OKLaboklab(41.58% 0.0016 -0.1944)
OKLCHoklch(41.58% 0.194 270.5)
XYZxyz(10.4079, 6.3841, 43.3228)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B3 #B3A72A
analogous
#2A7AB3 #2A36B3 #632AB3
triadic
#2A36B3 #B32A36 #36B32A
tetradic
#2A36B3 #B32A7A #B3A72A #2AB363
square
#2A36B3 #B32A7A #B3A72A #2AB363
split-complementary
#2A36B3 #B3632A #7AB32A
monochromatic
#131850 #1E2781 #2A36B3 #4653D4 #7881DF

Accessibility & contrast

On white

9.22
#2A36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B3
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B3#FFFFFF#000000##FFFFFF
##2A36B31.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a36b3;
/* rgb */ color: rgb(42, 54, 179);
/* oklch */ color: oklch(41.6% 0.194 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a6dcb',
    500: '#2a36b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b3;
$custom-light: #7a6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b3",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 234.745,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.19444,
    "h": 270.5
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#2A36B3
secondary
#C7C072
accent
#D743E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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