#2F36C0#2F36C0

#2F36C0 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.209 H 271.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2F36C0
RGBrgb(47, 54, 192)
HSLhsl(237, 61%, 47%)
HSVhsv(237, 76%, 75%)
CMYKcmyk(75.5%, 71.9%, 0%, 24.7%)
CIE-LABlab(31.91, 44.33, -72.29)
CIE-LCHlch(31.91, 84.80, 301.51°)
OKLaboklab(43.16% 0.0052 -0.2093)
OKLCHoklch(43.16% 0.209 271.4)
XYZxyz(12.0027, 7.0472, 50.5866)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36C0 #C0B92F
analogous
#2F7FC0 #2F36C0 #702FC0
triadic
#2F36C0 #C02F36 #36C02F
tetradic
#2F36C0 #C02F7F #C0B92F #2FC070
square
#2F36C0 #C02F7F #C0B92F #2FC070
split-complementary
#2F36C0 #C0702F #7FC02F
monochromatic
#171A5E #23288F #2F36C0 #565DD6 #888CE2

Accessibility & contrast

On white

8.72
#2F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F36C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36C0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36C0#FFFFFF#000000##FFFFFF
##2F36C01.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f36c0;
/* rgb */ color: rgb(47, 54, 192);
/* oklch */ color: oklch(43.2% 0.209 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f6ed4',
    500: '#2f36c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f36c0;
$custom-light: #7f6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36c0",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 237.103,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.20933,
    "h": 271.4
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#2F36C0
secondary
#CBC87F
accent
#DC44E4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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