#2F3FBC#2F3FBC

#2F3FBC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.195 H 270.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2F3FBC
RGBrgb(47, 63, 188)
HSLhsl(233, 60%, 46%)
HSVhsv(233, 75%, 74%)
CMYKcmyk(75%, 66.5%, 0%, 26.3%)
CIE-LABlab(33.54, 37.47, -67.26)
CIE-LCHlch(33.54, 76.99, 299.12°)
OKLaboklab(44.21% 0.0009 -0.1946)
OKLCHoklch(44.21% 0.195 270.3)
XYZxyz(12.0238, 7.7889, 48.4369)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FBC #BCAC2F
analogous
#2F85BC #2F3FBC #652FBC
triadic
#2F3FBC #BC2F3F #3FBC2F
tetradic
#2F3FBC #BC2F85 #BCAC2F #2FBC65
square
#2F3FBC #BC2F85 #BCAC2F #2FBC65
split-complementary
#2F3FBC #BC652F #85BC2F
monochromatic
#171E5A #232F8B #2F3FBC #5463D4 #858FE0

Accessibility & contrast

On white

8.21
#2F3FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F3FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FBC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FBC#FFFFFF#000000##FFFFFF
##2F3FBC1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f3fbc;
/* rgb */ color: rgb(47, 63, 188);
/* oklch */ color: oklch(44.2% 0.195 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d74d1',
    500: '#2f3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fbc;
$custom-light: #7d74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fbc",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 233.191,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.19458,
    "h": 270.3
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#2F3FBC
secondary
#CAC17D
accent
#D145E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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