#2F2AB3#2F2AB3

#2F2AB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.205 H 273.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2AB3
RGBrgb(47, 42, 179)
HSLhsl(242, 62%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(73.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.15, 46.79, -70.80)
CIE-LCHlch(28.15, 84.87, 303.46°)
OKLaboklab(40.08% 0.0129 -0.2048)
OKLCHoklch(40.08% 0.205 273.6)
XYZxyz(10.1342, 5.5139, 43.1693)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2AB3 #AEB32A
analogous
#2A69B3 #2F2AB3 #732AB3
triadic
#2F2AB3 #B32F2A #2AB32F
tetradic
#2F2AB3 #B32A69 #AEB32A #2AB373
square
#2F2AB3 #B32A69 #AEB32A #2AB373
split-complementary
#2F2AB3 #B3732A #69B32A
monochromatic
#151350 #221E81 #2F2AB3 #4C46D4 #7C78DF

Accessibility & contrast

On white

9.99
#2F2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2AB3
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2AB3#FFFFFF#000000##FFFFFF
##2F2AB31.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2ab3;
/* rgb */ color: rgb(47, 42, 179);
/* oklch */ color: oklch(40.1% 0.205 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d66cb',
    500: '#2f2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ab3;
$custom-light: #7d66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ab3",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 242.19,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.20526,
    "h": 273.6
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#2F2AB3
secondary
#C4C772
accent
#E543DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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