#2F3BC6#2F3BC6

#2F3BC6 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.212 H 270.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2F3BC6
RGBrgb(47, 59, 198)
HSLhsl(235, 62%, 48%)
HSVhsv(235, 76%, 78%)
CMYKcmyk(76.3%, 70.2%, 0%, 22.4%)
CIE-LABlab(33.58, 43.42, -73.06)
CIE-LCHlch(33.58, 84.99, 300.72°)
OKLaboklab(44.53% 0.0021 -0.2115)
OKLCHoklch(44.53% 0.212 270.6)
XYZxyz(12.9258, 7.8081, 54.2410)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BC6 #C6BA2F
analogous
#2F86C6 #2F3BC6 #6E2FC6
triadic
#2F3BC6 #C62F3B #3BC62F
tetradic
#2F3BC6 #C62F86 #C6BA2F #2FC66E
square
#2F3BC6 #C62F86 #C6BA2F #2FC66E
split-complementary
#2F3BC6 #C66E2F #86C62F
monochromatic
#181E63 #232C95 #2F3BC6 #5A64D8 #8C93E4

Accessibility & contrast

On white

8.20
#2F3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3BC6
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BC6#FFFFFF#000000##FFFFFF
##2F3BC61.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f3bc6;
/* rgb */ color: rgb(47, 59, 198);
/* oklch */ color: oklch(44.5% 0.212 270.6);
Tailwind
colors: {
  custom: {
    50: '#8072d9',
    500: '#2f3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bc6;
$custom-light: #8072d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bc6",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 235.232,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.21153,
    "h": 270.6
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#2F3BC6
secondary
#CEC883
accent
#D843E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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