#2F2DB0#2F2DB0

#2F2DB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.199 H 273.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2F2DB0
RGBrgb(47, 45, 176)
HSLhsl(241, 59%, 43%)
HSVhsv(241, 74%, 69%)
CMYKcmyk(73.3%, 74.4%, 0%, 31%)
CIE-LABlab(28.42, 44.14, -68.57)
CIE-LCHlch(28.42, 81.55, 302.77°)
OKLaboklab(40.17% 0.0121 -0.1984)
OKLCHoklch(40.17% 0.199 273.5)
XYZxyz(9.9445, 5.6147, 41.6255)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DB0 #AEB02D
analogous
#2D6CB0 #2F2DB0 #702DB0
triadic
#2F2DB0 #B02F2D #2DB02F
tetradic
#2F2DB0 #B02D6C #AEB02D #2DB070
square
#2F2DB0 #B02D6C #AEB02D #2DB070
split-complementary
#2F2DB0 #B0702D #6CB02D
monochromatic
#15144F #22217F #2F2DB0 #4C4AD1 #7C7ADD

Accessibility & contrast

On white

9.89
#2F2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DB0
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DB0#FFFFFF#000000##FFFFFF
##2F2DB01.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2db0;
/* rgb */ color: rgb(47, 45, 176);
/* oklch */ color: oklch(40.2% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c68c9',
    500: '#2f2db0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2db0;
$custom-light: #7c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2db0",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 240.916,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.19874,
    "h": 273.5
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#2F2DB0
secondary
#C4C573
accent
#E245E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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