#2F36A4#2F36A4

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

Color values

HEX#2F36A4
RGBrgb(47, 54, 164)
HSLhsl(236, 55%, 41%)
HSVhsv(236, 71%, 64%)
CMYKcmyk(71.3%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.22, 34.60, -60.05)
CIE-LCHlch(29.22, 69.30, 299.95°)
OKLaboklab(40.39% 0.0086 -0.1735)
OKLCHoklch(40.39% 0.174 272.8)
XYZxyz(9.1900, 5.9221, 35.7735)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36A4 #A49D2F
analogous
#2F71A4 #2F36A4 #632FA4
triadic
#2F36A4 #A42F36 #36A42F
tetradic
#2F36A4 #A42F71 #A49D2F #2FA463
square
#2F36A4 #A42F71 #A49D2F #2FA463
split-complementary
#2F36A4 #A4632F #71A42F
monochromatic
#141745 #212674 #2F36A4 #464ECA #767CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F36A4#FFFFFF#000000##FFFFFF
##2F36A41.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)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f36a4;
/* rgb */ color: rgb(47, 54, 164);
/* oklch */ color: oklch(40.4% 0.174 272.8);
Tailwind
colors: {
  custom: {
    50: '#786dc0',
    500: '#2f36a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f36a4;
$custom-light: #786dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36a4",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 236.41,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.17372,
    "h": 272.8
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#2F36A4
secondary
#C0BB6F
accent
#D649DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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