#2F37AE#2F37AE

#2F37AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.186 H 272.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2F37AE
RGBrgb(47, 55, 174)
HSLhsl(236, 57%, 43%)
HSVhsv(236, 73%, 68%)
CMYKcmyk(73%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.38, 37.51, -64.14)
CIE-LCHlch(30.38, 74.30, 300.31°)
OKLaboklab(41.52% 0.0069 -0.1855)
OKLCHoklch(41.52% 0.186 272.1)
XYZxyz(10.1759, 6.3917, 40.7336)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37AE #AEA62F
analogous
#2F77AE #2F37AE #662FAE
triadic
#2F37AE #AE2F37 #37AE2F
tetradic
#2F37AE #AE2F77 #AEA62F #2FAE66
square
#2F37AE #AE2F77 #AEA62F #2FAE66
split-complementary
#2F37AE #AE662F #77AE2F
monochromatic
#15194E #22287E #2F37AE #4C54CF #7C82DC

Accessibility & contrast

On white

9.22
#2F37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37AE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37AE#FFFFFF#000000##FFFFFF
##2F37AE1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f37ae;
/* rgb */ color: rgb(47, 55, 174);
/* oklch */ color: oklch(41.5% 0.186 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b6ec7',
    500: '#2f37ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f37ae;
$custom-light: #7b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37ae",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 236.22,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.18562,
    "h": 272.1
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#2F37AE
secondary
#C4BF75
accent
#D747E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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