#2F3BB0#2F3BB0

#2F3BB0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.184 H 271.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2F3BB0
RGBrgb(47, 59, 176)
HSLhsl(234, 58%, 44%)
HSVhsv(234, 73%, 69%)
CMYKcmyk(73.3%, 66.5%, 0%, 31%)
CIE-LABlab(31.50, 35.71, -63.50)
CIE-LCHlch(31.50, 72.85, 299.35°)
OKLaboklab(42.39% 0.0043 -0.1836)
OKLCHoklch(42.39% 0.184 271.3)
XYZxyz(10.5701, 6.8658, 41.8340)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BB0 #B0A42F
analogous
#2F7BB0 #2F3BB0 #632FB0
triadic
#2F3BB0 #B02F3B #3BB02F
tetradic
#2F3BB0 #B02F7B #B0A42F #2FB063
square
#2F3BB0 #B02F7B #B0A42F #2FB063
split-complementary
#2F3BB0 #B0632F #7BB02F
monochromatic
#151B4F #222B80 #2F3BB0 #4D59CF #7D86DC

Accessibility & contrast

On white

8.85
#2F3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F3BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BB0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BB0#FFFFFF#000000##FFFFFF
##2F3BB01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3bb0;
/* rgb */ color: rgb(47, 59, 176);
/* oklch */ color: oklch(42.4% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b71c9',
    500: '#2f3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bb0;
$custom-light: #7b71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bb0",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 234.419,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.18364,
    "h": 271.3
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#2F3BB0
secondary
#C5BE76
accent
#D347E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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