#2F36B0#2F36B0

#2F36B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.189 H 272.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2F36B0
RGBrgb(47, 54, 176)
HSLhsl(237, 58%, 44%)
HSVhsv(237, 73%, 69%)
CMYKcmyk(73.3%, 69.3%, 0%, 31%)
CIE-LABlab(30.34, 38.82, -65.40)
CIE-LCHlch(30.34, 76.06, 300.69°)
OKLaboklab(41.55% 0.0073 -0.1892)
OKLCHoklch(41.55% 0.189 272.2)
XYZxyz(10.3253, 6.3762, 41.7524)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36B0 #B0A92F
analogous
#2F76B0 #2F36B0 #682FB0
triadic
#2F36B0 #B02F36 #36B02F
tetradic
#2F36B0 #B02F76 #B0A92F #2FB068
square
#2F36B0 #B02F76 #B0A92F #2FB068
split-complementary
#2F36B0 #B0682F #76B02F
monochromatic
#15184F #222780 #2F36B0 #4D54CF #7D82DC

Accessibility & contrast

On white

9.23
#2F36B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F36B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36B0
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36B0#FFFFFF#000000##FFFFFF
##2F36B01.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f36b0;
/* rgb */ color: rgb(47, 54, 176);
/* oklch */ color: oklch(41.6% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b6ec9',
    500: '#2f36b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f36b0;
$custom-light: #7b6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36b0",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 236.744,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.1893,
    "h": 272.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#2F36B0
secondary
#C5C176
accent
#D947E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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