#2F2373#2F2373

#2F2373 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.131 H 283.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2F2373
RGBrgb(47, 35, 115)
HSLhsl(249, 53%, 29%)
HSVhsv(249, 70%, 45%)
CMYKcmyk(59.1%, 69.6%, 0%, 54.9%)
CIE-LABlab(20.22, 29.55, -44.28)
CIE-LCHlch(20.22, 53.24, 303.72°)
OKLaboklab(32.48% 0.0298 -0.1274)
OKLCHoklch(32.48% 0.131 283.2)
XYZxyz(4.8669, 3.0439, 16.5474)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2373 #677323
analogous
#233F73 #2F2373 #572373
triadic
#2F2373 #732F23 #23732F
tetradic
#2F2373 #73233F #677323 #237357
square
#2F2373 #73233F #677323 #237357
split-complementary
#2F2373 #735723 #3F7323
monochromatic
#0A0717 #1C1544 #2F2373 #4231A2 #5C49C8

Accessibility & contrast

On white

13.05
#2F2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2373
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2373#FFFFFF#000000##FFFFFF
##2F23731.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#0C3747
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2373;
/* rgb */ color: rgb(47, 35, 115);
/* oklch */ color: oklch(32.5% 0.131 283.2);
Tailwind
colors: {
  custom: {
    50: '#6f5f9c',
    500: '#2f2373',
    950: '#000000',
  },
}
SCSS
$custom: #2f2373;
$custom-light: #6f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2373",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 249,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.13081,
    "h": 283.2
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2F2373
secondary
#98A64C
accent
#DD4BC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2F2373

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

Preview Lab → · Contrast checker → · Palette generator →

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