#2F2089#2F2089

#2F2089 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.163 H 279.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2F2089
RGBrgb(47, 32, 137)
HSLhsl(249, 62%, 33%)
HSVhsv(249, 77%, 54%)
CMYKcmyk(65.7%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.74, 38.64, -55.75)
CIE-LCHlch(21.74, 67.83, 304.73°)
OKLaboklab(34.23% 0.0279 -0.1609)
OKLCHoklch(34.23% 0.163 279.8)
XYZxyz(6.2027, 3.4430, 23.9998)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2089 #7A8920
analogous
#204689 #2F2089 #632089
triadic
#2F2089 #892F20 #20892F
tetradic
#2F2089 #892046 #7A8920 #208963
square
#2F2089 #892046 #7A8920 #208963
split-complementary
#2F2089 #896320 #468920
monochromatic
#0D0926 #1E1457 #2F2089 #402CBB #614ED6

Accessibility & contrast

On white

12.43
#2F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2089
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2089#FFFFFF#000000##FFFFFF
##2F20891.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2089;
/* rgb */ color: rgb(47, 32, 137);
/* oklch */ color: oklch(34.2% 0.163 279.8);
Tailwind
colors: {
  custom: {
    50: '#745eac',
    500: '#2f2089',
    950: '#000000',
  },
}
SCSS
$custom: #2f2089;
$custom-light: #745eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2089",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 248.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.16331,
    "h": 279.8
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#2F2089
secondary
#A9B94C
accent
#E543CE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2089

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

Preview Lab → · Contrast checker → · Palette generator →

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