#2A36A8#2A36A8

#2A36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.180 H 270.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2A36A8
RGBrgb(42, 54, 168)
HSLhsl(234, 60%, 41%)
HSVhsv(234, 75%, 66%)
CMYKcmyk(75%, 67.9%, 0%, 34.1%)
CIE-LABlab(29.30, 35.46, -62.33)
CIE-LCHlch(29.30, 71.71, 299.63°)
OKLaboklab(40.49% 0.0027 -0.1803)
OKLCHoklch(40.49% 0.18 270.9)
XYZxyz(9.3395, 5.9567, 37.6958)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36A8 #A89C2A
analogous
#2A75A8 #2A36A8 #5D2AA8
triadic
#2A36A8 #A82A36 #36A82A
tetradic
#2A36A8 #A82A75 #A89C2A #2AA85D
square
#2A36A8 #A82A75 #A89C2A #2AA85D
split-complementary
#2A36A8 #A85D2A #75A82A
monochromatic
#121746 #1E2677 #2A36A8 #404ECF #717BDB

Accessibility & contrast

On white

9.58
#2A36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A36A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36A8
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36A8#FFFFFF#000000##FFFFFF
##2A36A81.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a36a8;
/* rgb */ color: rgb(42, 54, 168);
/* oklch */ color: oklch(40.5% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#776dc3',
    500: '#2a36a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a36a8;
$custom-light: #776dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36a8",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 234.286,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40493,
    "c": 0.18031,
    "h": 270.9
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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