#2F36A9#2F36A9

#2F36A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.180 H 272.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2F36A9
RGBrgb(47, 54, 169)
HSLhsl(237, 56%, 42%)
HSVhsv(237, 72%, 66%)
CMYKcmyk(72.2%, 68%, 0%, 33.7%)
CIE-LABlab(29.68, 36.37, -62.30)
CIE-LCHlch(29.68, 72.14, 300.27°)
OKLaboklab(40.87% 0.0081 -0.1801)
OKLCHoklch(40.87% 0.18 272.6)
XYZxyz(9.6505, 6.1063, 38.1985)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36A9 #A9A22F
analogous
#2F73A9 #2F36A9 #652FA9
triadic
#2F36A9 #A92F36 #36A92F
tetradic
#2F36A9 #A92F73 #A9A22F #2FA965
square
#2F36A9 #A92F73 #A9A22F #2FA965
split-complementary
#2F36A9 #A9652F #73A92F
monochromatic
#141749 #222779 #2F36A9 #4950CC #797EDA

Accessibility & contrast

On white

9.45
#2F36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36A9
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36A9#FFFFFF#000000##FFFFFF
##2F36A91.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f36a9;
/* rgb */ color: rgb(47, 54, 169);
/* oklch */ color: oklch(40.9% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a6dc4',
    500: '#2f36a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f36a9;
$custom-light: #7a6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36a9",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 236.557,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.18028,
    "h": 272.6
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2F36A9
secondary
#C2BD72
accent
#D748E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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