#2F2190#2F2190

#2F2190 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.171 H 278.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2F2190
RGBrgb(47, 33, 144)
HSLhsl(248, 63%, 35%)
HSVhsv(248, 77%, 56%)
CMYKcmyk(67.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(22.67, 40.36, -58.57)
CIE-LCHlch(22.67, 71.13, 304.57°)
OKLaboklab(35.1% 0.0255 -0.1691)
OKLCHoklch(35.1% 0.171 278.6)
XYZxyz(6.7486, 3.7051, 26.7397)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2190 #829021
analogous
#214A90 #2F2190 #672190
triadic
#2F2190 #902F21 #21902F
tetradic
#2F2190 #90214A #829021 #219067
square
#2F2190 #90214A #829021 #219067
split-complementary
#2F2190 #906721 #4A9021
monochromatic
#0E0A2C #1F165E #2F2190 #3F2CC2 #6454D8

Accessibility & contrast

On white

12.06
#2F2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2190
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2190#FFFFFF#000000##FFFFFF
##2F21901.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2190;
/* rgb */ color: rgb(47, 33, 144);
/* oklch */ color: oklch(35.1% 0.171 278.6);
Tailwind
colors: {
  custom: {
    50: '#765fb2',
    500: '#2f2190',
    950: '#000000',
  },
}
SCSS
$custom: #2f2190;
$custom-light: #765fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2190",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 247.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35105,
    "c": 0.17107,
    "h": 278.6
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#2F2190
secondary
#AEBB51
accent
#E642D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2190

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

Preview Lab → · Contrast checker → · Palette generator →

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