#2F2AB0#2F2AB0

#2F2AB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.202 H 273.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2F2AB0
RGBrgb(47, 42, 176)
HSLhsl(242, 61%, 43%)
HSVhsv(242, 76%, 69%)
CMYKcmyk(73.3%, 76.1%, 0%, 31%)
CIE-LABlab(27.83, 45.81, -69.54)
CIE-LCHlch(27.83, 83.28, 303.38°)
OKLaboklab(39.76% 0.0136 -0.2012)
OKLCHoklch(39.76% 0.202 273.9)
XYZxyz(9.8341, 5.3939, 41.5887)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2AB0 #ABB02A
analogous
#2A68B0 #2F2AB0 #722AB0
triadic
#2F2AB0 #B02F2A #2AB02F
tetradic
#2F2AB0 #B02A68 #ABB02A #2AB072
square
#2F2AB0 #B02A68 #ABB02A #2AB072
split-complementary
#2F2AB0 #B0722A #68B02A
monochromatic
#15124D #221E7F #2F2AB0 #4A45D3 #7A76DE

Accessibility & contrast

On white

10.10
#2F2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2AB0
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2AB0#FFFFFF#000000##FFFFFF
##2F2AB01.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2ab0;
/* rgb */ color: rgb(47, 42, 176);
/* oklch */ color: oklch(39.8% 0.202 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c66c9',
    500: '#2f2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ab0;
$custom-light: #7c66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ab0",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 242.239,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.20165,
    "h": 273.9
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#2F2AB0
secondary
#C3C670
accent
#E543DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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