#2F2385#2F2385

#2F2385 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.155 H 279.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2F2385
RGBrgb(47, 35, 133)
HSLhsl(247, 58%, 33%)
HSVhsv(247, 74%, 52%)
CMYKcmyk(64.7%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.94, 35.60, -52.90)
CIE-LCHlch(21.94, 63.77, 303.94°)
OKLaboklab(34.25% 0.0267 -0.1526)
OKLCHoklch(34.25% 0.155 279.9)
XYZxyz(6.0056, 3.4994, 22.5447)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2385 #798523
analogous
#234885 #2F2385 #602385
triadic
#2F2385 #852F23 #23852F
tetradic
#2F2385 #852348 #798523 #238560
square
#2F2385 #852348 #798523 #238560
split-complementary
#2F2385 #856023 #488523
monochromatic
#0D0924 #1E1655 #2F2385 #4030B5 #6151D1

Accessibility & contrast

On white

12.35
#2F2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2385
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2385#FFFFFF#000000##FFFFFF
##2F23851.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2385;
/* rgb */ color: rgb(47, 35, 133);
/* oklch */ color: oklch(34.2% 0.155 279.9);
Tailwind
colors: {
  custom: {
    50: '#735fa9',
    500: '#2f2385',
    950: '#000000',
  },
}
SCSS
$custom: #2f2385;
$custom-light: #735fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2385",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 247.347,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.15492,
    "h": 279.9
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#2F2385
secondary
#A8B54F
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2385

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

Preview Lab → · Contrast checker → · Palette generator →

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