#2A36B4#2A36B4

#2A36B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.196 H 270.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2A36B4
RGBrgb(42, 54, 180)
HSLhsl(235, 62%, 44%)
HSVhsv(235, 77%, 71%)
CMYKcmyk(76.7%, 70%, 0%, 29.4%)
CIE-LABlab(30.46, 39.73, -67.60)
CIE-LCHlch(30.46, 78.41, 300.44°)
OKLaboklab(41.68% 0.0015 -0.1957)
OKLCHoklch(41.68% 0.196 270.4)
XYZxyz(10.5094, 6.4247, 43.8574)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B4 #B4A82A
analogous
#2A7BB4 #2A36B4 #632AB4
triadic
#2A36B4 #B42A36 #36B42A
tetradic
#2A36B4 #B42A7B #B4A82A #2AB463
square
#2A36B4 #B42A7B #B4A82A #2AB463
split-complementary
#2A36B4 #B4632A #7BB42A
monochromatic
#131851 #1E2782 #2A36B4 #4753D4 #7982E0

Accessibility & contrast

On white

9.19
#2A36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B4#FFFFFF#000000##FFFFFF
##2A36B41.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a36b4;
/* rgb */ color: rgb(42, 54, 180);
/* oklch */ color: oklch(41.7% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a6dcc',
    500: '#2a36b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b4;
$custom-light: #7a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b4",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 234.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.1957,
    "h": 270.4
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#2A36B4
secondary
#C8C072
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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