#2F36B4#2F36B4

#2F36B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.194 H 272.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2F36B4
RGBrgb(47, 54, 180)
HSLhsl(237, 59%, 45%)
HSVhsv(237, 74%, 71%)
CMYKcmyk(73.9%, 70%, 0%, 29.4%)
CIE-LABlab(30.73, 40.21, -67.15)
CIE-LCHlch(30.73, 78.27, 300.92°)
OKLaboklab(41.95% 0.0068 -0.1943)
OKLCHoklch(41.95% 0.194 272)
XYZxyz(10.7269, 6.5368, 43.8676)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36B4 #B4AD2F
analogous
#2F79B4 #2F36B4 #6B2FB4
triadic
#2F36B4 #B42F36 #36B42F
tetradic
#2F36B4 #B42F79 #B4AD2F #2FB46B
square
#2F36B4 #B42F79 #B4AD2F #2FB46B
split-complementary
#2F36B4 #B46B2F #79B42F
monochromatic
#161953 #222783 #2F36B4 #4F56D1 #8085DE

Accessibility & contrast

On white

9.10
#2F36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36B4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36B4#FFFFFF#000000##FFFFFF
##2F36B41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f36b4;
/* rgb */ color: rgb(47, 54, 180);
/* oklch */ color: oklch(41.9% 0.194 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ecc',
    500: '#2f36b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f36b4;
$custom-light: #7c6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36b4",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 236.842,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.19438,
    "h": 272
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#2F36B4
secondary
#C7C278
accent
#DA46E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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