#2F37B0#2F37B0

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

Color values

HEX#2F37B0
RGBrgb(47, 55, 176)
HSLhsl(236, 58%, 44%)
HSVhsv(236, 73%, 69%)
CMYKcmyk(73.3%, 68.8%, 0%, 31%)
CIE-LABlab(30.57, 38.21, -65.03)
CIE-LCHlch(30.57, 75.42, 300.44°)
OKLaboklab(41.72% 0.0067 -0.1881)
OKLCHoklch(41.72% 0.188 272)
XYZxyz(10.3723, 6.4702, 41.7681)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37B0 #B0A82F
analogous
#2F77B0 #2F37B0 #672FB0
triadic
#2F37B0 #B02F37 #37B02F
tetradic
#2F37B0 #B02F77 #B0A82F #2FB067
square
#2F37B0 #B02F77 #B0A82F #2FB067
split-complementary
#2F37B0 #B0672F #77B02F
monochromatic
#15194F #222880 #2F37B0 #4D55CF #7D83DC

Accessibility & contrast

On white

9.15
#2F37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F37B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37B0
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37B0#FFFFFF#000000##FFFFFF
##2F37B01.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f37b0;
/* rgb */ color: rgb(47, 55, 176);
/* oklch */ color: oklch(41.7% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b6ec9',
    500: '#2f37b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f37b0;
$custom-light: #7b6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37b0",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 236.279,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.18819,
    "h": 272
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#2F37B0
secondary
#C5C076
accent
#D847E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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