#2A36B0#2A36B0

#2A36B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.191 H 270.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2A36B0
RGBrgb(42, 54, 176)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(76.1%, 69.3%, 0%, 31%)
CIE-LABlab(30.07, 38.31, -65.86)
CIE-LCHlch(30.07, 76.19, 300.19°)
OKLaboklab(41.28% 0.002 -0.1906)
OKLCHoklch(41.28% 0.191 270.6)
XYZxyz(10.1078, 6.2641, 41.7423)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B0 #B0A42A
analogous
#2A79B0 #2A36B0 #612AB0
triadic
#2A36B0 #B02A36 #36B02A
tetradic
#2A36B0 #B02A79 #B0A42A #2AB061
square
#2A36B0 #B02A79 #B0A42A #2AB061
split-complementary
#2A36B0 #B0612A #79B02A
monochromatic
#12184D #1E277F #2A36B0 #4551D3 #767FDE

Accessibility & contrast

On white

9.32
#2A36B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A36B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B0#FFFFFF#000000##FFFFFF
##2A36B01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a36b0;
/* rgb */ color: rgb(42, 54, 176);
/* oklch */ color: oklch(41.3% 0.191 270.6);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2a36b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b0;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b0",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 234.627,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41281,
    "c": 0.19062,
    "h": 270.6
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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