#2F3DB0#2F3DB0

#2F3DB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.181 H 270.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2F3DB0
RGBrgb(47, 61, 176)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 73%, 69%)
CMYKcmyk(73.3%, 65.3%, 0%, 31%)
CIE-LABlab(31.98, 34.44, -62.72)
CIE-LCHlch(31.98, 71.55, 298.77°)
OKLaboklab(42.74% 0.003 -0.1813)
OKLCHoklch(42.74% 0.181 270.9)
XYZxyz(10.6748, 7.0753, 41.8690)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DB0 #B0A22F
analogous
#2F7DB0 #2F3DB0 #612FB0
triadic
#2F3DB0 #B02F3D #3DB02F
tetradic
#2F3DB0 #B02F7D #B0A22F #2FB061
square
#2F3DB0 #B02F7D #B0A22F #2FB061
split-complementary
#2F3DB0 #B0612F #7DB02F
monochromatic
#151C4F #222C80 #2F3DB0 #4D5BCF #7D87DC

Accessibility & contrast

On white

8.69
#2F3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F3DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DB0
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DB0#FFFFFF#000000##FFFFFF
##2F3DB01.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3db0;
/* rgb */ color: rgb(47, 61, 176);
/* oklch */ color: oklch(42.7% 0.181 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b72c9',
    500: '#2f3db0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3db0;
$custom-light: #7b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3db0",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 233.488,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.18131,
    "h": 270.9
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#2F3DB0
secondary
#C5BC76
accent
#D047E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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