#2F37BC#2F37BC

#2F37BC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 42.9% C 0.203 H 271.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2F37BC
RGBrgb(47, 55, 188)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(75%, 70.7%, 0%, 26.3%)
CIE-LABlab(31.73, 42.37, -70.24)
CIE-LCHlch(31.73, 82.03, 301.10°)
OKLaboklab(42.9% 0.0053 -0.2033)
OKLCHoklch(42.9% 0.203 271.5)
XYZxyz(11.6125, 6.9663, 48.2998)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37BC #BCB42F
analogous
#2F7DBC #2F37BC #6D2FBC
triadic
#2F37BC #BC2F37 #37BC2F
tetradic
#2F37BC #BC2F7D #BCB42F #2FBC6D
square
#2F37BC #BC2F7D #BCB42F #2FBC6D
split-complementary
#2F37BC #BC6D2F #7DBC2F
monochromatic
#171A5A #23298B #2F37BC #545BD4 #858AE0

Accessibility & contrast

On white

8.77
#2F37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F37BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37BC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37BC#FFFFFF#000000##FFFFFF
##2F37BC1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f37bc;
/* rgb */ color: rgb(47, 55, 188);
/* oklch */ color: oklch(42.9% 0.203 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e6fd1',
    500: '#2f37bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f37bc;
$custom-light: #7e6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37bc",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 236.596,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.20335,
    "h": 271.5
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#2F37BC
secondary
#CAC67D
accent
#DA45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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