#2F2EB4#2F2EB4

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

Color values

HEX#2F2EB4
RGBrgb(47, 46, 180)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 71%)
CMYKcmyk(73.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(29.04, 44.90, -69.94)
CIE-LCHlch(29.04, 83.11, 302.70°)
OKLaboklab(40.74% 0.0109 -0.2024)
OKLCHoklch(40.74% 0.203 273.1)
XYZxyz(10.3847, 5.8526, 43.7535)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EB4 #B3B42E
analogous
#2E70B4 #2F2EB4 #722EB4
triadic
#2F2EB4 #B42F2E #2EB42F
tetradic
#2F2EB4 #B42E70 #B3B42E #2EB472
square
#2F2EB4 #B42E70 #B3B42E #2EB472
split-complementary
#2F2EB4 #B4722E #70B42E
monochromatic
#161553 #222283 #2F2EB4 #4F4ED2 #7F7EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2EB4#FFFFFF#000000##FFFFFF
##2F2EB41.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)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2eb4;
/* rgb */ color: rgb(47, 46, 180);
/* oklch */ color: oklch(40.7% 0.203 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d68cc',
    500: '#2f2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eb4;
$custom-light: #7d68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eb4",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 240.448,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.20265,
    "h": 273.1
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#2F2EB4
secondary
#C6C777
accent
#E245E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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