#2A36A7#2A36A7

#2A36A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.179 H 270.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2A36A7
RGBrgb(42, 54, 167)
HSLhsl(234, 60%, 41%)
HSVhsv(234, 75%, 65%)
CMYKcmyk(74.9%, 67.7%, 0%, 34.5%)
CIE-LABlab(29.21, 35.10, -61.88)
CIE-LCHlch(29.21, 71.14, 299.56°)
OKLaboklab(40.4% 0.0028 -0.179)
OKLCHoklch(40.4% 0.179 270.9)
XYZxyz(9.2467, 5.9196, 37.2070)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36A7 #A79B2A
analogous
#2A74A7 #2A36A7 #5C2AA7
triadic
#2A36A7 #A72A36 #36A72A
tetradic
#2A36A7 #A72A74 #A79B2A #2AA75C
square
#2A36A7 #A72A74 #A79B2A #2AA75C
split-complementary
#2A36A7 #A75C2A #74A72A
monochromatic
#111645 #1E2676 #2A36A7 #3F4DCF #707BDB

Accessibility & contrast

On white

9.61
#2A36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A36A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36A7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36A7#FFFFFF#000000##FFFFFF
##2A36A71.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a36a7;
/* rgb */ color: rgb(42, 54, 167);
/* oklch */ color: oklch(40.4% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#776dc2',
    500: '#2a36a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a36a7;
$custom-light: #776dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36a7",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 234.24,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.17901,
    "h": 270.9
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#2A36A7
secondary
#C2BA6B
accent
#D445E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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