#2F2893#2F2893

#2F2893 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.168 H 277.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2F2893
RGBrgb(47, 40, 147)
HSLhsl(244, 57%, 37%)
HSVhsv(244, 73%, 58%)
CMYKcmyk(68%, 72.8%, 0%, 42.4%)
CIE-LABlab(24.41, 37.33, -57.56)
CIE-LCHlch(24.41, 68.61, 302.97°)
OKLaboklab(36.43% 0.0204 -0.1662)
OKLCHoklch(36.43% 0.168 277)
XYZxyz(7.1958, 4.2279, 28.0350)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2893 #8C9328
analogous
#285793 #2F2893 #652893
triadic
#2F2893 #932F28 #28932F
tetradic
#2F2893 #932857 #8C9328 #289365
square
#2F2893 #932857 #8C9328 #289365
split-complementary
#2F2893 #936528 #579328
monochromatic
#100E33 #201B63 #2F2893 #3E35C3 #6961D4

Accessibility & contrast

On white

11.38
#2F2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2893
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2893#FFFFFF#000000##FFFFFF
##2F28931.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2893;
/* rgb */ color: rgb(47, 40, 147);
/* oklch */ color: oklch(36.4% 0.168 277.0);
Tailwind
colors: {
  custom: {
    50: '#7663b4',
    500: '#2f2893',
    950: '#000000',
  },
}
SCSS
$custom: #2f2893;
$custom-light: #7663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2893",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 243.925,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.1675,
    "h": 277
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#2F2893
secondary
#B4BA5D
accent
#E047D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2893

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

Preview Lab → · Contrast checker → · Palette generator →

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