#2F3DB7#2F3DB7

#2F3DB7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.190 H 270.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2F3DB7
RGBrgb(47, 61, 183)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 72%)
CMYKcmyk(74.3%, 66.7%, 0%, 28.2%)
CIE-LABlab(32.61, 36.94, -65.83)
CIE-LCHlch(32.61, 75.49, 299.30°)
OKLaboklab(43.4% 0.0025 -0.1904)
OKLCHoklch(43.4% 0.19 270.7)
XYZxyz(11.3854, 7.3595, 45.6111)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DB7 #B7A92F
analogous
#2F81B7 #2F3DB7 #652FB7
triadic
#2F3DB7 #B72F3D #3DB72F
tetradic
#2F3DB7 #B72F81 #B7A92F #2FB765
square
#2F3DB7 #B72F81 #B7A92F #2FB765
split-complementary
#2F3DB7 #B7652F #81B72F
monochromatic
#161D56 #222D86 #2F3DB7 #515ED2 #828BDF

Accessibility & contrast

On white

8.49
#2F3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DB7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DB7#FFFFFF#000000##FFFFFF
##2F3DB71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3db7;
/* rgb */ color: rgb(47, 61, 183);
/* oklch */ color: oklch(43.4% 0.190 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c73ce',
    500: '#2f3db7',
    950: '#000000',
  },
}
SCSS
$custom: #2f3db7;
$custom-light: #7c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3db7",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 233.824,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.19043,
    "h": 270.7
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#2F3DB7
secondary
#C8C07A
accent
#D245E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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