#2F2D89#2F2D89

#2F2D89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.148 H 277.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2F2D89
RGBrgb(47, 45, 137)
HSLhsl(241, 51%, 36%)
HSVhsv(241, 67%, 54%)
CMYKcmyk(65.7%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.60, 30.78, -51.05)
CIE-LCHlch(24.60, 59.61, 301.08°)
OKLaboklab(36.28% 0.0181 -0.1472)
OKLCHoklch(36.28% 0.148 277)
XYZxyz(6.6246, 4.2867, 24.1404)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D89 #87892D
analogous
#2D5989 #2F2D89 #5D2D89
triadic
#2F2D89 #892F2D #2D892F
tetradic
#2F2D89 #892D59 #87892D #2D895D
square
#2F2D89 #892D59 #87892D #2D895D
split-complementary
#2F2D89 #895D2D #59892D
monochromatic
#0F0F2D #1F1E5B #2F2D89 #3F3CB7 #6664CC

Accessibility & contrast

On white

11.31
#2F2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D89
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D89#FFFFFF#000000##FFFFFF
##2F2D891.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2d89;
/* rgb */ color: rgb(47, 45, 137);
/* oklch */ color: oklch(36.3% 0.148 277.0);
Tailwind
colors: {
  custom: {
    50: '#7366ac',
    500: '#2f2d89',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d89;
$custom-light: #7366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d89",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 241.304,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36275,
    "c": 0.1483,
    "h": 277
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#2F2D89
secondary
#B1B35F
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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