#2F1E90#2F1E90

#2F1E90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.174 H 279.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2F1E90
RGBrgb(47, 30, 144)
HSLhsl(249, 66%, 34%)
HSVhsv(249, 79%, 56%)
CMYKcmyk(67.4%, 79.2%, 0%, 43.5%)
CIE-LABlab(22.11, 41.96, -59.50)
CIE-LCHlch(22.11, 72.81, 305.19°)
OKLaboklab(34.71% 0.0273 -0.1718)
OKLCHoklch(34.71% 0.174 279)
XYZxyz(6.6690, 3.5459, 26.7131)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1E90 #7F901E
analogous
#1E4690 #2F1E90 #681E90
triadic
#2F1E90 #902F1E #1E902F
tetradic
#2F1E90 #901E46 #7F901E #1E9068
square
#2F1E90 #901E46 #7F901E #1E9068
split-complementary
#2F1E90 #90681E #46901E
monochromatic
#0E092B #1E135D #2F1E90 #4029C3 #634EDA

Accessibility & contrast

On white

12.29
#2F1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1E90
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1E90#FFFFFF#000000##FFFFFF
##2F1E901.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f1e90;
/* rgb */ color: rgb(47, 30, 144);
/* oklch */ color: oklch(34.7% 0.174 279.0);
Tailwind
colors: {
  custom: {
    50: '#765db2',
    500: '#2f1e90',
    950: '#000000',
  },
}
SCSS
$custom: #2f1e90;
$custom-light: #765db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1e90",
  "rgb": {
    "r": 47,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 248.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34711,
    "c": 0.17398,
    "h": 279
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#2F1E90
secondary
#ACBD4D
accent
#E83FCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2F1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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