#2F2B88#2F2B88

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

Color values

HEX#2F2B88
RGBrgb(47, 43, 136)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 68%, 53%)
CMYKcmyk(65.4%, 68.4%, 0%, 46.7%)
CIE-LABlab(24.03, 31.71, -51.36)
CIE-LCHlch(24.03, 60.36, 301.69°)
OKLaboklab(35.83% 0.0198 -0.1481)
OKLCHoklch(35.83% 0.149 277.6)
XYZxyz(6.4787, 4.1091, 23.7395)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B88 #84882B
analogous
#2B5588 #2F2B88 #5E2B88
triadic
#2F2B88 #882F2B #2B882F
tetradic
#2F2B88 #882B55 #84882B #2B885E
square
#2F2B88 #882B55 #84882B #2B885E
split-complementary
#2F2B88 #885E2B #55882B
monochromatic
#0F0E2B #1F1C5A #2F2B88 #3F3AB6 #6561CD

Accessibility & contrast

On white

11.53
#2F2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B88
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B88#FFFFFF#000000##FFFFFF
##2F2B881.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2b88;
/* rgb */ color: rgb(47, 43, 136);
/* oklch */ color: oklch(35.8% 0.149 277.6);
Tailwind
colors: {
  custom: {
    50: '#7365ac',
    500: '#2f2b88',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b88;
$custom-light: #7365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b88",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 242.581,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.14942,
    "h": 277.6
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#2F2B88
secondary
#AFB35C
accent
#DB4CD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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