#2F3CB6#2F3CB6

#2F3CB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.190 H 271.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB6
RGBrgb(47, 60, 182)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 71%)
CMYKcmyk(74.2%, 67%, 0%, 28.6%)
CIE-LABlab(32.29, 37.21, -65.78)
CIE-LCHlch(32.29, 75.57, 299.50°)
OKLaboklab(43.13% 0.0032 -0.1902)
OKLCHoklch(43.13% 0.19 271)
XYZxyz(11.2288, 7.2123, 45.0472)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB6 #B6A92F
analogous
#2F80B6 #2F3CB6 #652FB6
triadic
#2F3CB6 #B62F3C #3CB62F
tetradic
#2F3CB6 #B62F80 #B6A92F #2FB665
square
#2F3CB6 #B62F80 #B6A92F #2FB665
split-complementary
#2F3CB6 #B6652F #80B62F
monochromatic
#161C55 #222C85 #2F3CB6 #505DD2 #818ADE

Accessibility & contrast

On white

8.60
#2F3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F3CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB6
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB6#FFFFFF#000000##FFFFFF
##2F3CB61.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3cb6;
/* rgb */ color: rgb(47, 60, 182);
/* oklch */ color: oklch(43.1% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c72cd',
    500: '#2f3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb6;
$custom-light: #7c72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb6",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 234.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.19028,
    "h": 271
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#2F3CB6
secondary
#C7C079
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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