#2A36B5#2A36B5

#2A36B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.197 H 270.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2A36B5
RGBrgb(42, 54, 181)
HSLhsl(235, 62%, 44%)
HSVhsv(235, 77%, 71%)
CMYKcmyk(76.8%, 70.2%, 0%, 29%)
CIE-LABlab(30.56, 40.08, -68.03)
CIE-LCHlch(30.56, 78.96, 300.50°)
OKLaboklab(41.78% 0.0014 -0.1969)
OKLCHoklch(41.78% 0.197 270.4)
XYZxyz(10.6117, 6.4656, 44.3958)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B5 #B5A92A
analogous
#2A7BB5 #2A36B5 #632AB5
triadic
#2A36B5 #B52A36 #36B52A
tetradic
#2A36B5 #B52A7B #B5A92A #2AB563
square
#2A36B5 #B52A7B #B5A92A #2AB563
split-complementary
#2A36B5 #B5632A #7BB52A
monochromatic
#131852 #1E2783 #2A36B5 #4854D4 #7982E0

Accessibility & contrast

On white

9.16
#2A36B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A36B5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B5#FFFFFF#000000##FFFFFF
##2A36B51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a36b5;
/* rgb */ color: rgb(42, 54, 181);
/* oklch */ color: oklch(41.8% 0.197 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b6ecc',
    500: '#2a36b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b5;
$custom-light: #7b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b5",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 234.82,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.19695,
    "h": 270.4
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#2A36B5
secondary
#C8C173
accent
#D742E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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