#2F2994#2F2994

#2F2994 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.168 H 276.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2F2994
RGBrgb(47, 41, 148)
HSLhsl(243, 57%, 37%)
HSVhsv(243, 72%, 58%)
CMYKcmyk(68.2%, 72.3%, 0%, 42%)
CIE-LABlab(24.73, 37.08, -57.66)
CIE-LCHlch(24.73, 68.55, 302.74°)
OKLaboklab(36.69% 0.0195 -0.1665)
OKLCHoklch(36.69% 0.168 276.7)
XYZxyz(7.3088, 4.3277, 28.4614)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2994 #8E9429
analogous
#295994 #2F2994 #642994
triadic
#2F2994 #942F29 #29942F
tetradic
#2F2994 #942959 #8E9429 #299464
square
#2F2994 #942959 #8E9429 #299464
split-complementary
#2F2994 #946429 #599429
monochromatic
#110E34 #201C64 #2F2994 #3E36C4 #6A63D4

Accessibility & contrast

On white

11.26
#2F2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2994
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2994#FFFFFF#000000##FFFFFF
##2F29941.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2994;
/* rgb */ color: rgb(47, 41, 148);
/* oklch */ color: oklch(36.7% 0.168 276.7);
Tailwind
colors: {
  custom: {
    50: '#7664b4',
    500: '#2f2994',
    950: '#000000',
  },
}
SCSS
$custom: #2f2994;
$custom-light: #7664b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2994",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 243.364,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.16768,
    "h": 276.7
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#2F2994
secondary
#B5BA5F
accent
#E048D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2994

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

Preview Lab → · Contrast checker → · Palette generator →

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