#2F2A92#2F2A92

#2F2A92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.164 H 276.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2F2A92
RGBrgb(47, 42, 146)
HSLhsl(243, 55%, 37%)
HSVhsv(243, 71%, 57%)
CMYKcmyk(67.8%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.75, 35.79, -56.39)
CIE-LCHlch(24.75, 66.79, 302.40°)
OKLaboklab(36.64% 0.0192 -0.1628)
OKLCHoklch(36.64% 0.164 276.7)
XYZxyz(7.1869, 4.3350, 27.6465)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A92 #8D922A
analogous
#2A5992 #2F2A92 #632A92
triadic
#2F2A92 #922F2A #2A922F
tetradic
#2F2A92 #922A59 #8D922A #2A9263
square
#2F2A92 #922A59 #8D922A #2A9263
split-complementary
#2F2A92 #92632A #59922A
monochromatic
#100F33 #201C62 #2F2A92 #3E38C2 #6964D2

Accessibility & contrast

On white

11.25
#2F2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A92
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A92#FFFFFF#000000##FFFFFF
##2F2A921.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2a92;
/* rgb */ color: rgb(47, 42, 146);
/* oklch */ color: oklch(36.6% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#7564b3',
    500: '#2f2a92',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a92;
$custom-light: #7564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a92",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 242.885,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.16394,
    "h": 276.7
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#2F2A92
secondary
#B4B85F
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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