#2F2485#2F2485

#2F2485 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.154 H 279.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2F2485
RGBrgb(47, 36, 133)
HSLhsl(247, 57%, 33%)
HSVhsv(247, 73%, 52%)
CMYKcmyk(64.7%, 72.9%, 0%, 47.8%)
CIE-LABlab(22.16, 35.01, -52.55)
CIE-LCHlch(22.16, 63.14, 303.67°)
OKLaboklab(34.4% 0.0259 -0.1516)
OKLCHoklch(34.4% 0.154 279.7)
XYZxyz(6.0355, 3.5591, 22.5547)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2485 #7A8524
analogous
#244985 #2F2485 #5F2485
triadic
#2F2485 #852F24 #24852F
tetradic
#2F2485 #852449 #7A8524 #24855F
square
#2F2485 #852449 #7A8524 #24855F
split-complementary
#2F2485 #855F24 #498524
monochromatic
#0D0A25 #1E1755 #2F2485 #4031B5 #6153D0

Accessibility & contrast

On white

12.27
#2F2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2485
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2485#FFFFFF#000000##FFFFFF
##2F24851.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2485;
/* rgb */ color: rgb(47, 36, 133);
/* oklch */ color: oklch(34.4% 0.154 279.7);
Tailwind
colors: {
  custom: {
    50: '#7360a9',
    500: '#2f2485',
    950: '#000000',
  },
}
SCSS
$custom: #2f2485;
$custom-light: #7360a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2485",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 246.804,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.344,
    "c": 0.15378,
    "h": 279.7
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#2F2485
secondary
#A9B450
accent
#E147CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2485

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

Preview Lab → · Contrast checker → · Palette generator →

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