#2F2990#2F2990

#2F2990 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.162 H 277.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2F2990
RGBrgb(47, 41, 144)
HSLhsl(243, 56%, 36%)
HSVhsv(243, 72%, 56%)
CMYKcmyk(67.4%, 71.5%, 0%, 43.5%)
CIE-LABlab(24.33, 35.71, -55.84)
CIE-LCHlch(24.33, 66.28, 302.60°)
OKLaboklab(36.29% 0.0202 -0.1612)
OKLCHoklch(36.29% 0.162 277.1)
XYZxyz(6.9976, 4.2032, 26.8227)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2990 #8A9029
analogous
#295790 #2F2990 #632990
triadic
#2F2990 #902F29 #29902F
tetradic
#2F2990 #902957 #8A9029 #299063
square
#2F2990 #902957 #8A9029 #299063
split-complementary
#2F2990 #906329 #579029
monochromatic
#100E31 #1F1B60 #2F2990 #3F37C0 #6861D2

Accessibility & contrast

On white

11.41
#2F2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2990
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2990#FFFFFF#000000##FFFFFF
##2F29901.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2990;
/* rgb */ color: rgb(47, 41, 144);
/* oklch */ color: oklch(36.3% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#7564b2',
    500: '#2f2990',
    950: '#000000',
  },
}
SCSS
$custom: #2f2990;
$custom-light: #7564b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2990",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 243.495,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.16247,
    "h": 277.1
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#2F2990
secondary
#B3B85D
accent
#DF49D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2F2990

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

Preview Lab → · Contrast checker → · Palette generator →

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