#2F2490#2F2490

#2F2490 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.168 H 278.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2F2490
RGBrgb(47, 36, 144)
HSLhsl(246, 60%, 35%)
HSVhsv(246, 75%, 56%)
CMYKcmyk(67.4%, 75%, 0%, 43.5%)
CIE-LABlab(23.27, 38.67, -57.59)
CIE-LCHlch(23.27, 69.37, 303.88°)
OKLaboklab(35.53% 0.0236 -0.1663)
OKLCHoklch(35.53% 0.168 278.1)
XYZxyz(6.8356, 3.8791, 26.7687)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2490 #859024
analogous
#244F90 #2F2490 #652490
triadic
#2F2490 #902F24 #24902F
tetradic
#2F2490 #90244F #859024 #249065
square
#2F2490 #90244F #859024 #249065
split-complementary
#2F2490 #906524 #4F9024
monochromatic
#0F0C2E #1F185F #2F2490 #3F30C1 #6659D5

Accessibility & contrast

On white

11.82
#2F2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2490
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2490#FFFFFF#000000##FFFFFF
##2F24901.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2490;
/* rgb */ color: rgb(47, 36, 144);
/* oklch */ color: oklch(35.5% 0.168 278.1);
Tailwind
colors: {
  custom: {
    50: '#7561b2',
    500: '#2f2490',
    950: '#000000',
  },
}
SCSS
$custom: #2f2490;
$custom-light: #7561b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2490",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 246.111,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.16797,
    "h": 278.1
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#2F2490
secondary
#B0BA56
accent
#E345D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2490

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

Preview Lab → · Contrast checker → · Palette generator →

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