#2F2A89#2F2A89

#2F2A89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.152 H 277.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2F2A89
RGBrgb(47, 42, 137)
HSLhsl(243, 53%, 35%)
HSVhsv(243, 69%, 54%)
CMYKcmyk(65.7%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.89, 32.69, -52.21)
CIE-LCHlch(23.89, 61.60, 302.05°)
OKLaboklab(35.76% 0.0205 -0.1506)
OKLCHoklch(35.76% 0.152 277.8)
XYZxyz(6.5142, 4.0659, 24.1036)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A89 #84892A
analogous
#2A5489 #2F2A89 #5F2A89
triadic
#2F2A89 #892F2A #2A892F
tetradic
#2F2A89 #892A54 #84892A #2A895F
square
#2F2A89 #892A54 #84892A #2A895F
split-complementary
#2F2A89 #895F2A #54892A
monochromatic
#0F0D2B #1F1C5A #2F2A89 #3F38B8 #655FCE

Accessibility & contrast

On white

11.58
#2F2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A89
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A89#FFFFFF#000000##FFFFFF
##2F2A891.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2a89;
/* rgb */ color: rgb(47, 42, 137);
/* oklch */ color: oklch(35.8% 0.152 277.8);
Tailwind
colors: {
  custom: {
    50: '#7364ac',
    500: '#2f2a89',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a89;
$custom-light: #7364ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a89",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 243.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.152,
    "h": 277.8
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#2F2A89
secondary
#AFB45B
accent
#DC4BD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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