#2F3DB6#2F3DB6

#2F3DB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.189 H 270.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2F3DB6
RGBrgb(47, 61, 182)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 71%)
CMYKcmyk(74.2%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.52, 36.59, -65.39)
CIE-LCHlch(32.52, 74.93, 299.23°)
OKLaboklab(43.3% 0.0026 -0.1891)
OKLCHoklch(43.3% 0.189 270.8)
XYZxyz(11.2817, 7.3180, 45.0649)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DB6 #B6A82F
analogous
#2F80B6 #2F3DB6 #652FB6
triadic
#2F3DB6 #B62F3D #3DB62F
tetradic
#2F3DB6 #B62F80 #B6A82F #2FB665
square
#2F3DB6 #B62F80 #B6A82F #2FB665
split-complementary
#2F3DB6 #B6652F #80B62F
monochromatic
#161C55 #222D85 #2F3DB6 #505ED2 #818BDE

Accessibility & contrast

On white

8.52
#2F3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DB6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DB6#FFFFFF#000000##FFFFFF
##2F3DB61.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3db6;
/* rgb */ color: rgb(47, 61, 182);
/* oklch */ color: oklch(43.3% 0.189 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c72cd',
    500: '#2f3db6',
    950: '#000000',
  },
}
SCSS
$custom: #2f3db6;
$custom-light: #7c72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3db6",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 233.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43304,
    "c": 0.18913,
    "h": 270.8
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#2F3DB6
secondary
#C7BF79
accent
#D246E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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