#2F2390#2F2390

#2F2390 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.169 H 278.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2F2390
RGBrgb(47, 35, 144)
HSLhsl(247, 61%, 35%)
HSVhsv(247, 76%, 56%)
CMYKcmyk(67.4%, 75.7%, 0%, 43.5%)
CIE-LABlab(23.07, 39.24, -57.92)
CIE-LCHlch(23.07, 69.96, 304.12°)
OKLaboklab(35.38% 0.0243 -0.1673)
OKLCHoklch(35.38% 0.169 278.3)
XYZxyz(6.8057, 3.8194, 26.7587)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2390 #849023
analogous
#234D90 #2F2390 #662390
triadic
#2F2390 #902F23 #23902F
tetradic
#2F2390 #90234D #849023 #239066
square
#2F2390 #90234D #849023 #239066
split-complementary
#2F2390 #906623 #4D9023
monochromatic
#0F0B2E #1F175F #2F2390 #3F2FC1 #6557D6

Accessibility & contrast

On white

11.90
#2F2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2F2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2390
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2390#FFFFFF#000000##FFFFFF
##2F23901.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2390;
/* rgb */ color: rgb(47, 35, 144);
/* oklch */ color: oklch(35.4% 0.169 278.3);
Tailwind
colors: {
  custom: {
    50: '#7660b2',
    500: '#2f2390',
    950: '#000000',
  },
}
SCSS
$custom: #2f2390;
$custom-light: #7660b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2390",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 246.606,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35383,
    "c": 0.16902,
    "h": 278.3
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2F2390
secondary
#AFBA54
accent
#E444D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2390

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

Preview Lab → · Contrast checker → · Palette generator →

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