#2F2D90#2F2D90

#2F2D90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.158 H 276.3°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2F2D90
RGBrgb(47, 45, 144)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(67.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(25.24, 33.23, -54.34)
CIE-LCHlch(25.24, 63.70, 301.45°)
OKLaboklab(36.94% 0.0173 -0.1568)
OKLCHoklch(36.94% 0.158 276.3)
XYZxyz(7.1431, 4.4941, 26.8712)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D90 #8E902D
analogous
#2D5D90 #2F2D90 #612D90
triadic
#2F2D90 #902F2D #2D902F
tetradic
#2F2D90 #902D5D #8E902D #2D9061
square
#2F2D90 #902D5D #8E902D #2D9061
split-complementary
#2F2D90 #90612D #5D902D
monochromatic
#111033 #201E61 #2F2D90 #3E3CBF #6A68D0

Accessibility & contrast

On white

11.06
#2F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D90
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D90#FFFFFF#000000##FFFFFF
##2F2D901.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2d90;
/* rgb */ color: rgb(47, 45, 144);
/* oklch */ color: oklch(36.9% 0.158 276.3);
Tailwind
colors: {
  custom: {
    50: '#7566b1',
    500: '#2f2d90',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d90;
$custom-light: #7566b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d90",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 241.212,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3694,
    "c": 0.15779,
    "h": 276.3
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#2F2D90
secondary
#B5B662
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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