#2F2C90#2F2C90

#2F2C90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.159 H 276.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2C90
RGBrgb(47, 44, 144)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 69%, 56%)
CMYKcmyk(67.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(25.01, 33.86, -54.72)
CIE-LCHlch(25.01, 64.35, 301.75°)
OKLaboklab(36.77% 0.018 -0.1579)
OKLCHoklch(36.77% 0.159 276.5)
XYZxyz(7.1054, 4.4187, 26.8586)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C90 #8D902C
analogous
#2C5B90 #2F2C90 #612C90
triadic
#2F2C90 #902F2C #2C902F
tetradic
#2F2C90 #902C5B #8D902C #2C9061
square
#2F2C90 #902C5B #8D902C #2C9061
split-complementary
#2F2C90 #90612C #5B902C
monochromatic
#100F32 #201E61 #2F2C90 #3E3ABF #6966D0

Accessibility & contrast

On white

11.15
#2F2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C90
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C90#FFFFFF#000000##FFFFFF
##2F2C901.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2c90;
/* rgb */ color: rgb(47, 44, 144);
/* oklch */ color: oklch(36.8% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#7566b1',
    500: '#2f2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c90;
$custom-light: #7566b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c90",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 241.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.15897,
    "h": 276.5
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#2F2C90
secondary
#B4B761
accent
#DD4BD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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