#2F37CA#2F37CA

#2F37CA is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.220 H 270.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2F37CA
RGBrgb(47, 55, 202)
HSLhsl(237, 62%, 49%)
HSVhsv(237, 77%, 79%)
CMYKcmyk(76.7%, 72.8%, 0%, 20.8%)
CIE-LABlab(33.13, 47.11, -76.13)
CIE-LCHlch(33.13, 89.53, 301.75°)
OKLaboklab(44.33% 0.0033 -0.2204)
OKLCHoklch(44.33% 0.22 270.9)
XYZxyz(13.1955, 7.5995, 56.6371)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F37CA #CAC22F
analogous
#2F85CA #2F37CA #752FCA
triadic
#2F37CA #CA2F37 #37CA2F
tetradic
#2F37CA #CA2F85 #CAC22F #2FCA75
square
#2F37CA #CA2F85 #CAC22F #2FCA75
split-complementary
#2F37CA #CA752F #85CA2F
monochromatic
#181C67 #232998 #2F37CA #5D63D9 #8F93E5

Accessibility & contrast

On white

8.33
#2F37CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F37CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F37CA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F37CA#FFFFFF#000000##FFFFFF
##2F37CA1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f37ca;
/* rgb */ color: rgb(47, 55, 202);
/* oklch */ color: oklch(44.3% 0.220 270.9);
Tailwind
colors: {
  custom: {
    50: '#816fdb',
    500: '#2f37ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f37ca;
$custom-light: #816fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f37ca",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 236.903,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.22047,
    "h": 270.9
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#2F37CA
secondary
#CFCB86
accent
#DD42E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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