#2F2DC0#2F2DC0

#2F2DC0 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.218 H 272.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2F2DC0
RGBrgb(47, 45, 192)
HSLhsl(241, 62%, 46%)
HSVhsv(241, 77%, 75%)
CMYKcmyk(75.5%, 76.6%, 0%, 24.7%)
CIE-LABlab(30.12, 49.37, -75.25)
CIE-LCHlch(30.12, 90.00, 303.27°)
OKLaboklab(41.88% 0.0091 -0.2178)
OKLCHoklch(41.88% 0.218 272.4)
XYZxyz(11.6219, 6.2856, 50.4597)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DC0 #BEC02D
analogous
#2D75C0 #2F2DC0 #792DC0
triadic
#2F2DC0 #C02F2D #2DC02F
tetradic
#2F2DC0 #C02D75 #BEC02D #2DC079
square
#2F2DC0 #C02D75 #BEC02D #2DC079
split-complementary
#2F2DC0 #C0792D #75C02D
monochromatic
#17165D #23218E #2F2DC0 #5553D7 #8685E2

Accessibility & contrast

On white

9.30
#2F2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DC0
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DC0#FFFFFF#000000##FFFFFF
##2F2DC01.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f2dc0;
/* rgb */ color: rgb(47, 45, 192);
/* oklch */ color: oklch(41.9% 0.218 272.4);
Tailwind
colors: {
  custom: {
    50: '#8068d4',
    500: '#2f2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2dc0;
$custom-light: #8068d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2dc0",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 240.816,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.21799,
    "h": 272.4
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#2F2DC0
secondary
#CBCC7D
accent
#E543E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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