#2F2A93#2F2A93

#2F2A93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.165 H 276.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2F2A93
RGBrgb(47, 42, 147)
HSLhsl(243, 56%, 37%)
HSVhsv(243, 71%, 58%)
CMYKcmyk(68%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.85, 36.13, -56.85)
CIE-LCHlch(24.85, 67.36, 302.44°)
OKLaboklab(36.74% 0.019 -0.1642)
OKLCHoklch(36.74% 0.165 276.6)
XYZxyz(7.2650, 4.3662, 28.0580)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A93 #8E932A
analogous
#2A5A93 #2F2A93 #642A93
triadic
#2F2A93 #932F2A #2A932F
tetradic
#2F2A93 #932A5A #8E932A #2A9364
square
#2F2A93 #932A5A #8E932A #2A9364
split-complementary
#2F2A93 #93642A #5A932A
monochromatic
#110F34 #201C63 #2F2A93 #3E38C3 #6A65D3

Accessibility & contrast

On white

11.21
#2F2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A93
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A93#FFFFFF#000000##FFFFFF
##2F2A931.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2a93;
/* rgb */ color: rgb(47, 42, 147);
/* oklch */ color: oklch(36.7% 0.165 276.6);
Tailwind
colors: {
  custom: {
    50: '#7665b4',
    500: '#2f2a93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a93;
$custom-light: #7665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a93",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 242.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.16526,
    "h": 276.6
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#2F2A93
secondary
#B5B960
accent
#DF49D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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