#2A36B8#2A36B8

#2A36B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.201 H 270.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2A36B8
RGBrgb(42, 54, 184)
HSLhsl(235, 63%, 44%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(77.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(30.85, 41.13, -69.32)
CIE-LCHlch(30.85, 80.61, 300.68°)
OKLaboklab(42.09% 0.0011 -0.2007)
OKLCHoklch(42.09% 0.201 270.3)
XYZxyz(10.9228, 6.5901, 46.0345)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B8 #B8AC2A
analogous
#2A7DB8 #2A36B8 #652AB8
triadic
#2A36B8 #B82A36 #36B82A
tetradic
#2A36B8 #B82A7D #B8AC2A #2AB865
square
#2A36B8 #B82A7D #B8AC2A #2AB865
split-complementary
#2A36B8 #B8652A #7DB82A
monochromatic
#131954 #1F2786 #2A36B8 #4A55D6 #7B84E1

Accessibility & contrast

On white

9.06
#2A36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B8#FFFFFF#000000##FFFFFF
##2A36B81.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a36b8;
/* rgb */ color: rgb(42, 54, 184);
/* oklch */ color: oklch(42.1% 0.201 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b6ecf',
    500: '#2a36b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b8;
$custom-light: #7b6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b8",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 234.93,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.20072,
    "h": 270.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#2A36B8
secondary
#C9C275
accent
#D842E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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