#2F2EB3#2F2EB3

#2F2EB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.201 H 273.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2F2EB3
RGBrgb(47, 46, 179)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 70%)
CMYKcmyk(73.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.93, 44.57, -69.51)
CIE-LCHlch(28.93, 82.58, 302.67°)
OKLaboklab(40.63% 0.0111 -0.2011)
OKLCHoklch(40.63% 0.201 273.2)
XYZxyz(10.2832, 5.8120, 43.2190)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EB3 #B2B32E
analogous
#2E70B3 #2F2EB3 #722EB3
triadic
#2F2EB3 #B32F2E #2EB32F
tetradic
#2F2EB3 #B32E70 #B2B32E #2EB372
square
#2F2EB3 #B32E70 #B2B32E #2EB372
split-complementary
#2F2EB3 #B3722E #70B32E
monochromatic
#151552 #222182 #2F2EB3 #4E4DD1 #7E7EDE

Accessibility & contrast

On white

9.71
#2F2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EB3
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EB3#FFFFFF#000000##FFFFFF
##2F2EB31.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2eb3;
/* rgb */ color: rgb(47, 46, 179);
/* oklch */ color: oklch(40.6% 0.201 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d68cb',
    500: '#2f2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eb3;
$custom-light: #7d68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eb3",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 240.451,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.20144,
    "h": 273.2
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#2F2EB3
secondary
#C6C676
accent
#E246E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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