#2F36BA#2F36BA

#2F36BA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.5% C 0.202 H 271.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2F36BA
RGBrgb(47, 54, 186)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 73%)
CMYKcmyk(74.7%, 71%, 0%, 27.1%)
CIE-LABlab(31.32, 42.28, -69.74)
CIE-LCHlch(31.32, 81.55, 301.23°)
OKLaboklab(42.55% 0.0061 -0.2018)
OKLCHoklch(42.55% 0.202 271.7)
XYZxyz(11.3514, 6.7866, 47.1566)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36BA #BAB32F
analogous
#2F7CBA #2F36BA #6D2FBA
triadic
#2F36BA #BA2F36 #36BA2F
tetradic
#2F36BA #BA2F7C #BAB32F #2FBA6D
square
#2F36BA #BA2F7C #BAB32F #2FBA6D
split-complementary
#2F36BA #BA6D2F #7CBA2F
monochromatic
#161A58 #232889 #2F36BA #5359D3 #8488E0

Accessibility & contrast

On white

8.91
#2F36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F36BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36BA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36BA#FFFFFF#000000##FFFFFF
##2F36BA1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f36ba;
/* rgb */ color: rgb(47, 54, 186);
/* oklch */ color: oklch(42.5% 0.202 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ed0',
    500: '#2f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f36ba;
$custom-light: #7e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36ba",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 236.978,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.20191,
    "h": 271.7
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#2F36BA
secondary
#C9C57C
accent
#DB45E3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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