#2F2B93#2F2B93

#2F2B93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.164 H 276.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2F2B93
RGBrgb(47, 43, 147)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(68%, 70.7%, 0%, 42.4%)
CIE-LABlab(25.07, 35.52, -56.48)
CIE-LCHlch(25.07, 66.72, 302.17°)
OKLaboklab(36.9% 0.0183 -0.1631)
OKLCHoklch(36.9% 0.164 276.4)
XYZxyz(7.3009, 4.4380, 28.0700)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B93 #8F932B
analogous
#2B5B93 #2F2B93 #632B93
triadic
#2F2B93 #932F2B #2B932F
tetradic
#2F2B93 #932B5B #8F932B #2B9363
square
#2F2B93 #932B5B #8F932B #2B9363
split-complementary
#2F2B93 #93632B #5B932B
monochromatic
#110F34 #201D64 #2F2B93 #3E39C2 #6A66D2

Accessibility & contrast

On white

11.12
#2F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B93
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B93#FFFFFF#000000##FFFFFF
##2F2B931.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2b93;
/* rgb */ color: rgb(47, 43, 147);
/* oklch */ color: oklch(36.9% 0.164 276.4);
Tailwind
colors: {
  custom: {
    50: '#7665b4',
    500: '#2f2b93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b93;
$custom-light: #7665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b93",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 242.308,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.16411,
    "h": 276.4
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#2F2B93
secondary
#B5B961
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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