#2F2892#2F2892

#2F2892 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.166 H 277.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2892
RGBrgb(47, 40, 146)
HSLhsl(244, 57%, 36%)
HSVhsv(244, 73%, 57%)
CMYKcmyk(67.8%, 72.6%, 0%, 42.7%)
CIE-LABlab(24.31, 37.00, -57.11)
CIE-LCHlch(24.31, 68.05, 302.94°)
OKLaboklab(36.33% 0.0206 -0.1649)
OKLCHoklch(36.33% 0.166 277.1)
XYZxyz(7.1177, 4.1966, 27.6235)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2892 #8B9228
analogous
#285692 #2F2892 #642892
triadic
#2F2892 #922F28 #28922F
tetradic
#2F2892 #922856 #8B9228 #289264
square
#2F2892 #922856 #8B9228 #289264
split-complementary
#2F2892 #926428 #569228
monochromatic
#100E32 #201B62 #2F2892 #3E35C2 #6861D4

Accessibility & contrast

On white

11.42
#2F2892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F2892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2892
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2892#FFFFFF#000000##FFFFFF
##2F28921.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2892;
/* rgb */ color: rgb(47, 40, 146);
/* oklch */ color: oklch(36.3% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#7663b3',
    500: '#2f2892',
    950: '#000000',
  },
}
SCSS
$custom: #2f2892;
$custom-light: #7663b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2892",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 243.962,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.1662,
    "h": 277.1
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#2F2892
secondary
#B3B95D
accent
#E048D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2892

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

Preview Lab → · Contrast checker → · Palette generator →

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