#2F2B92#2F2B92

#2F2B92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.163 H 276.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2F2B92
RGBrgb(47, 43, 146)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 71%, 57%)
CMYKcmyk(67.8%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.97, 35.18, -56.02)
CIE-LCHlch(24.97, 66.15, 302.12°)
OKLaboklab(36.81% 0.0185 -0.1617)
OKLCHoklch(36.81% 0.163 276.5)
XYZxyz(7.2228, 4.4068, 27.6585)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B92 #8E922B
analogous
#2B5B92 #2F2B92 #632B92
triadic
#2F2B92 #922F2B #2B922F
tetradic
#2F2B92 #922B5B #8E922B #2B9263
square
#2F2B92 #922B5B #8E922B #2B9263
split-complementary
#2F2B92 #92632B #5B922B
monochromatic
#110F33 #201D63 #2F2B92 #3E39C1 #6A66D2

Accessibility & contrast

On white

11.16
#2F2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B92
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B92#FFFFFF#000000##FFFFFF
##2F2B921.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2b92;
/* rgb */ color: rgb(47, 43, 146);
/* oklch */ color: oklch(36.8% 0.163 276.5);
Tailwind
colors: {
  custom: {
    50: '#7565b3',
    500: '#2f2b92',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b92;
$custom-light: #7565b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b92",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 242.33,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36805,
    "c": 0.1628,
    "h": 276.5
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#2F2B92
secondary
#B5B861
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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