#2F36BE#2F36BE

#2F36BE is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.207 H 271.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2F36BE
RGBrgb(47, 54, 190)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 75%)
CMYKcmyk(75.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(31.71, 43.65, -71.44)
CIE-LCHlch(31.71, 83.72, 301.42°)
OKLaboklab(42.95% 0.0055 -0.2068)
OKLCHoklch(42.95% 0.207 271.5)
XYZxyz(11.7826, 6.9591, 49.4275)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36BE #BEB72F
analogous
#2F7EBE #2F36BE #702FBE
triadic
#2F36BE #BE2F36 #36BE2F
tetradic
#2F36BE #BE2F7E #BEB72F #2FBE70
square
#2F36BE #BE2F7E #BEB72F #2FBE70
split-complementary
#2F36BE #BE702F #7EBE2F
monochromatic
#171A5C #23288D #2F36BE #555BD5 #868BE1

Accessibility & contrast

On white

8.78
#2F36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36BE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36BE#FFFFFF#000000##FFFFFF
##2F36BE1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0044BC
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f36be;
/* rgb */ color: rgb(47, 54, 190);
/* oklch */ color: oklch(43.0% 0.207 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e6ed3',
    500: '#2f36be',
    950: '#000000',
  },
}
SCSS
$custom: #2f36be;
$custom-light: #7e6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36be",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 237.063,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.20686,
    "h": 271.5
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#2F36BE
secondary
#CBC77E
accent
#DC44E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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