#2A36B1#2A36B1

#2A36B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 270.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2A36B1
RGBrgb(42, 54, 177)
HSLhsl(235, 62%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(76.3%, 69.5%, 0%, 30.6%)
CIE-LABlab(30.17, 38.67, -66.30)
CIE-LCHlch(30.17, 76.75, 300.25°)
OKLaboklab(41.38% 0.0018 -0.1919)
OKLCHoklch(41.38% 0.192 270.5)
XYZxyz(10.2071, 6.3038, 42.2653)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B1 #B1A52A
analogous
#2A79B1 #2A36B1 #622AB1
triadic
#2A36B1 #B12A36 #36B12A
tetradic
#2A36B1 #B12A79 #B1A52A #2AB162
square
#2A36B1 #B12A79 #B1A52A #2AB162
split-complementary
#2A36B1 #B1622A #79B12A
monochromatic
#13184E #1E2780 #2A36B1 #4552D3 #7780DF

Accessibility & contrast

On white

9.29
#2A36B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A36B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B1#FFFFFF#000000##FFFFFF
##2A36B11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a36b1;
/* rgb */ color: rgb(42, 54, 177);
/* oklch */ color: oklch(41.4% 0.192 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2a36b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b1;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b1",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 234.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.1919,
    "h": 270.5
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#2A36B1
secondary
#C6BF70
accent
#D643E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A36B1

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

Preview Lab → · Contrast checker → · Palette generator →

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