#2F2894#2F2894

#2F2894 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.169 H 276.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2F2894
RGBrgb(47, 40, 148)
HSLhsl(244, 57%, 37%)
HSVhsv(244, 73%, 58%)
CMYKcmyk(68.2%, 73%, 0%, 42%)
CIE-LABlab(24.51, 37.67, -58.01)
CIE-LCHlch(24.51, 69.17, 303.00°)
OKLaboklab(36.53% 0.0202 -0.1676)
OKLCHoklch(36.53% 0.169 276.9)
XYZxyz(7.2746, 4.2594, 28.4500)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2894 #8D9428
analogous
#285794 #2F2894 #652894
triadic
#2F2894 #942F28 #28942F
tetradic
#2F2894 #942857 #8D9428 #289465
square
#2F2894 #942857 #8D9428 #289465
split-complementary
#2F2894 #946528 #579428
monochromatic
#100E34 #201B64 #2F2894 #3E35C4 #6962D5

Accessibility & contrast

On white

11.34
#2F2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2894
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2894#FFFFFF#000000##FFFFFF
##2F28941.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2894;
/* rgb */ color: rgb(47, 40, 148);
/* oklch */ color: oklch(36.5% 0.169 276.9);
Tailwind
colors: {
  custom: {
    50: '#7663b4',
    500: '#2f2894',
    950: '#000000',
  },
}
SCSS
$custom: #2f2894;
$custom-light: #7663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2894",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 243.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.16878,
    "h": 276.9
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#2F2894
secondary
#B4BA5E
accent
#E147D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2894

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

Preview Lab → · Contrast checker → · Palette generator →

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