#2F37BF#2F37BF

#2F37BF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.2% C 0.207 H 271.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2F37BF
RGBrgb(47, 55, 191)
HSLhsl(237, 61%, 47%)
HSVhsv(237, 75%, 75%)
CMYKcmyk(75.4%, 71.2%, 0%, 25.1%)
CIE-LABlab(32.03, 43.40, -71.52)
CIE-LCHlch(32.03, 83.65, 301.25°)
OKLaboklab(43.21% 0.0049 -0.207)
OKLCHoklch(43.21% 0.207 271.4)
XYZxyz(11.9393, 7.0970, 50.0207)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37BF #BFB72F
analogous
#2F7FBF #2F37BF #6F2FBF
triadic
#2F37BF #BF2F37 #37BF2F
tetradic
#2F37BF #BF2F7F #BFB72F #2FBF6F
square
#2F37BF #BF2F7F #BFB72F #2FBF6F
split-complementary
#2F37BF #BF6F2F #7FBF2F
monochromatic
#171B5D #23298E #2F37BF #565DD5 #878CE1

Accessibility & contrast

On white

8.68
#2F37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F37BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37BF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37BF#FFFFFF#000000##FFFFFF
##2F37BF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f37bf;
/* rgb */ color: rgb(47, 55, 191);
/* oklch */ color: oklch(43.2% 0.207 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f6fd4',
    500: '#2f37bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f37bf;
$custom-light: #7f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37bf",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 236.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.20706,
    "h": 271.4
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#2F37BF
secondary
#CBC77F
accent
#DB44E4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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