#2A36A6#2A36A6

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

Color values

HEX#2A36A6
RGBrgb(42, 54, 166)
HSLhsl(234, 60%, 41%)
HSVhsv(234, 75%, 65%)
CMYKcmyk(74.7%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.11, 34.73, -61.43)
CIE-LCHlch(29.11, 70.57, 299.48°)
OKLaboklab(40.3% 0.0029 -0.1777)
OKLCHoklch(40.3% 0.178 270.9)
XYZxyz(9.1546, 5.8828, 36.7220)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36A6 #A69A2A
analogous
#2A74A6 #2A36A6 #5C2AA6
triadic
#2A36A6 #A62A36 #36A62A
tetradic
#2A36A6 #A62A74 #A69A2A #2AA65C
square
#2A36A6 #A62A74 #A69A2A #2AA65C
split-complementary
#2A36A6 #A65C2A #74A62A
monochromatic
#111644 #1E2675 #2A36A6 #3F4DCE #707ADB

Accessibility & contrast

On white

9.65
#2A36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A36A6
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36A6#FFFFFF#000000##FFFFFF
##2A36A61.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a36a6;
/* rgb */ color: rgb(42, 54, 166);
/* oklch */ color: oklch(40.3% 0.178 270.9);
Tailwind
colors: {
  custom: {
    50: '#776dc1',
    500: '#2a36a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a36a6;
$custom-light: #776dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36a6",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 234.194,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.1777,
    "h": 270.9
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#2A36A6
secondary
#C2B96A
accent
#D445E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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