#2F2E58#2F2E58

#2F2E58 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.073 H 282.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2F2E58
RGBrgb(47, 46, 88)
HSLhsl(241, 31%, 26%)
HSVhsv(241, 48%, 35%)
CMYKcmyk(46.6%, 47.7%, 0%, 65.5%)
CIE-LABlab(21.07, 12.84, -25.28)
CIE-LCHlch(21.07, 28.35, 296.92°)
OKLaboklab(32.46% 0.016 -0.0715)
OKLCHoklch(32.46% 0.073 282.6)
XYZxyz(3.9102, 3.2627, 9.6544)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E58 #57582E
analogous
#2E4258 #2F2E58 #442E58
triadic
#2F2E58 #582F2E #2E582F
tetradic
#2F2E58 #582E42 #57582E #2E5844
square
#2F2E58 #582E42 #57582E #2E5844
split-complementary
#2F2E58 #58442E #42582E
monochromatic
#0B0B14 #1A1930 #2F2E58 #444380 #5A58A8

Accessibility & contrast

On white

12.71
#2F2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E58
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E58#FFFFFF#000000##FFFFFF
##2F2E581.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E345A
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#22373E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2e58;
/* rgb */ color: rgb(47, 46, 88);
/* oklch */ color: oklch(32.5% 0.073 282.6);
Tailwind
colors: {
  custom: {
    50: '#6a6687',
    500: '#2f2e58',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e58;
$custom-light: #6a6687;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e58",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 241.429,
    "s": 31.343,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32455,
    "c": 0.07322,
    "h": 282.6
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#2F2E58
secondary
#888A58
accent
#C860C5
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #2F2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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