#2F37BD#2F37BD

#2F37BD is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.205 H 271.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2F37BD
RGBrgb(47, 55, 189)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(75.1%, 70.9%, 0%, 25.9%)
CIE-LABlab(31.83, 42.71, -70.67)
CIE-LCHlch(31.83, 82.57, 301.15°)
OKLaboklab(43.01% 0.0051 -0.2045)
OKLCHoklch(43.01% 0.205 271.4)
XYZxyz(11.7207, 7.0096, 48.8695)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37BD #BDB52F
analogous
#2F7EBD #2F37BD #6E2FBD
triadic
#2F37BD #BD2F37 #37BD2F
tetradic
#2F37BD #BD2F7E #BDB52F #2FBD6E
square
#2F37BD #BD2F7E #BDB52F #2FBD6E
split-complementary
#2F37BD #BD6E2F #7EBD2F
monochromatic
#171A5B #23298C #2F37BD #555CD5 #868BE1

Accessibility & contrast

On white

8.74
#2F37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37BD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37BD#FFFFFF#000000##FFFFFF
##2F37BD1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f37bd;
/* rgb */ color: rgb(47, 55, 189);
/* oklch */ color: oklch(43.0% 0.205 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e6fd2',
    500: '#2f37bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f37bd;
$custom-light: #7e6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37bd",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 236.62,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.20458,
    "h": 271.4
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#2F37BD
secondary
#CAC67E
accent
#DA44E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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