#2F2B89#2F2B89

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

Color values

HEX#2F2B89
RGBrgb(47, 43, 137)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 69%, 54%)
CMYKcmyk(65.7%, 68.6%, 0%, 46.3%)
CIE-LABlab(24.12, 32.06, -51.83)
CIE-LCHlch(24.12, 60.94, 301.74°)
OKLaboklab(35.93% 0.0197 -0.1495)
OKLCHoklch(35.93% 0.151 277.5)
XYZxyz(6.5501, 4.1377, 24.1155)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B89 #85892B
analogous
#2B5689 #2F2B89 #5E2B89
triadic
#2F2B89 #892F2B #2B892F
tetradic
#2F2B89 #892B56 #85892B #2B895E
square
#2F2B89 #892B56 #85892B #2B895E
split-complementary
#2F2B89 #895E2B #56892B
monochromatic
#0F0E2C #1F1C5A #2F2B89 #3F3AB8 #6661CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2B89#FFFFFF#000000##FFFFFF
##2F2B891.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)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2b89;
/* rgb */ color: rgb(47, 43, 137);
/* oklch */ color: oklch(35.9% 0.151 277.5);
Tailwind
colors: {
  custom: {
    50: '#7365ac',
    500: '#2f2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b89;
$custom-light: #7365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b89",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 242.553,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.15077,
    "h": 277.5
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#2F2B89
secondary
#B0B35C
accent
#DC4CD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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