#2F2B94#2F2B94

#2F2B94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.165 H 276.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2F2B94
RGBrgb(47, 43, 148)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(68.2%, 70.9%, 0%, 42%)
CIE-LABlab(25.17, 35.86, -56.94)
CIE-LCHlch(25.17, 67.29, 302.21°)
OKLaboklab(37% 0.0182 -0.1644)
OKLCHoklch(37% 0.165 276.3)
XYZxyz(7.3797, 4.4696, 28.4850)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B94 #90942B
analogous
#2B5B94 #2F2B94 #642B94
triadic
#2F2B94 #942F2B #2B942F
tetradic
#2F2B94 #942B5B #90942B #2B9464
square
#2F2B94 #942B5B #90942B #2B9464
split-complementary
#2F2B94 #94642B #5B942B
monochromatic
#110F35 #201D65 #2F2B94 #3E39C3 #6B67D3

Accessibility & contrast

On white

11.09
#2F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B94
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B94#FFFFFF#000000##FFFFFF
##2F2B941.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2b94;
/* rgb */ color: rgb(47, 43, 148);
/* oklch */ color: oklch(37.0% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#7665b4',
    500: '#2f2b94',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b94;
$custom-light: #7665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b94",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 242.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.16543,
    "h": 276.3
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#2F2B94
secondary
#B6B962
accent
#DE49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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