#2F36B3#2F36B3

#2F36B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.193 H 272.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2F36B3
RGBrgb(47, 54, 179)
HSLhsl(237, 58%, 44%)
HSVhsv(237, 74%, 70%)
CMYKcmyk(73.7%, 69.8%, 0%, 29.8%)
CIE-LABlab(30.63, 39.87, -66.71)
CIE-LCHlch(30.63, 77.72, 300.86°)
OKLaboklab(41.85% 0.007 -0.193)
OKLCHoklch(41.85% 0.193 272.1)
XYZxyz(10.6254, 6.4962, 43.3330)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36B3 #B3AC2F
analogous
#2F78B3 #2F36B3 #6A2FB3
triadic
#2F36B3 #B32F36 #36B32F
tetradic
#2F36B3 #B32F78 #B3AC2F #2FB36A
square
#2F36B3 #B32F78 #B3AC2F #2FB36A
split-complementary
#2F36B3 #B36A2F #78B32F
monochromatic
#161952 #222783 #2F36B3 #4F55D1 #7F84DD

Accessibility & contrast

On white

9.13
#2F36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36B3
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36B3#FFFFFF#000000##FFFFFF
##2F36B31.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f36b3;
/* rgb */ color: rgb(47, 54, 179);
/* oklch */ color: oklch(41.8% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ecb',
    500: '#2f36b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f36b3;
$custom-light: #7c6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36b3",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 236.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.19312,
    "h": 272.1
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#2F36B3
secondary
#C6C278
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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