#2A36AF#2A36AF

#2A36AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.189 H 270.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2A36AF
RGBrgb(42, 54, 175)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(76%, 69.1%, 0%, 31.4%)
CIE-LABlab(29.97, 37.96, -65.42)
CIE-LCHlch(29.97, 75.64, 300.12°)
OKLaboklab(41.18% 0.0021 -0.1893)
OKLCHoklch(41.18% 0.189 270.6)
XYZxyz(10.0092, 6.2246, 41.2231)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36AF #AFA32A
analogous
#2A79AF #2A36AF #602AAF
triadic
#2A36AF #AF2A36 #36AF2A
tetradic
#2A36AF #AF2A79 #AFA32A #2AAF60
square
#2A36AF #AF2A79 #AFA32A #2AAF60
split-complementary
#2A36AF #AF602A #79AF2A
monochromatic
#12184C #1E277E #2A36AF #4451D2 #757FDE

Accessibility & contrast

On white

9.35
#2A36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36AF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36AF#FFFFFF#000000##FFFFFF
##2A36AF1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a36af;
/* rgb */ color: rgb(42, 54, 175);
/* oklch */ color: oklch(41.2% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#796dc8',
    500: '#2a36af',
    950: '#000000',
  },
}
SCSS
$custom: #2a36af;
$custom-light: #796dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36af",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 234.586,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.18935,
    "h": 270.6
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#2A36AF
secondary
#C6BE6F
accent
#D643E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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