#2F2890#2F2890

#2F2890 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.164 H 277.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2F2890
RGBrgb(47, 40, 144)
HSLhsl(244, 57%, 36%)
HSVhsv(244, 72%, 56%)
CMYKcmyk(67.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(24.11, 36.32, -56.20)
CIE-LCHlch(24.11, 66.91, 302.87°)
OKLaboklab(36.13% 0.0209 -0.1623)
OKLCHoklch(36.13% 0.164 277.4)
XYZxyz(6.9635, 4.1349, 26.8113)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2890 #899028
analogous
#285590 #2F2890 #632890
triadic
#2F2890 #902F28 #28902F
tetradic
#2F2890 #902855 #899028 #289063
square
#2F2890 #902855 #899028 #289063
split-complementary
#2F2890 #906328 #559028
monochromatic
#100D30 #1F1B60 #2F2890 #3F35C0 #6760D3

Accessibility & contrast

On white

11.49
#2F2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2890
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2890#FFFFFF#000000##FFFFFF
##2F28901.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2890;
/* rgb */ color: rgb(47, 40, 144);
/* oklch */ color: oklch(36.1% 0.164 277.4);
Tailwind
colors: {
  custom: {
    50: '#7563b2',
    500: '#2f2890',
    950: '#000000',
  },
}
SCSS
$custom: #2f2890;
$custom-light: #7563b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2890",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 244.038,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.1636,
    "h": 277.4
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#2F2890
secondary
#B2B85C
accent
#E048D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2F2890

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

Preview Lab → · Contrast checker → · Palette generator →

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