#2F2DB6#2F2DB6

#2F2DB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.206 H 273.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2F2DB6
RGBrgb(47, 45, 182)
HSLhsl(241, 60%, 45%)
HSVhsv(241, 75%, 71%)
CMYKcmyk(74.2%, 75.3%, 0%, 28.6%)
CIE-LABlab(29.05, 46.12, -71.11)
CIE-LCHlch(29.05, 84.75, 302.97°)
OKLaboklab(40.81% 0.011 -0.2057)
OKLCHoklch(40.81% 0.206 273.1)
XYZxyz(10.5513, 5.8574, 44.8214)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DB6 #B4B62D
analogous
#2D70B6 #2F2DB6 #742DB6
triadic
#2F2DB6 #B62F2D #2DB62F
tetradic
#2F2DB6 #B62D70 #B4B62D #2DB674
square
#2F2DB6 #B62D70 #B4B62D #2DB674
split-complementary
#2F2DB6 #B6742D #70B62D
monochromatic
#161554 #222185 #2F2DB6 #4F4DD3 #807EDF

Accessibility & contrast

On white

9.67
#2F2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DB6
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DB6#FFFFFF#000000##FFFFFF
##2F2DB61.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2db6;
/* rgb */ color: rgb(47, 45, 182);
/* oklch */ color: oklch(40.8% 0.206 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d68cd',
    500: '#2f2db6',
    950: '#000000',
  },
}
SCSS
$custom: #2f2db6;
$custom-light: #7d68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2db6",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 240.876,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.20604,
    "h": 273.1
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#2F2DB6
secondary
#C7C877
accent
#E344E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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