#2F2CB3#2F2CB3

#2F2CB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.203 H 273.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB3
RGBrgb(47, 44, 179)
HSLhsl(241, 61%, 44%)
HSVhsv(241, 75%, 70%)
CMYKcmyk(73.7%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.54, 45.69, -70.17)
CIE-LCHlch(28.54, 83.73, 303.07°)
OKLaboklab(40.35% 0.012 -0.203)
OKLCHoklch(40.35% 0.203 273.4)
XYZxyz(10.2069, 5.6593, 43.1935)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB3 #B0B32C
analogous
#2C6CB3 #2F2CB3 #722CB3
triadic
#2F2CB3 #B32F2C #2CB32F
tetradic
#2F2CB3 #B32C6C #B0B32C #2CB372
square
#2F2CB3 #B32C6C #B0B32C #2CB372
split-complementary
#2F2CB3 #B3722C #6CB32C
monochromatic
#151451 #222082 #2F2CB3 #4D4AD2 #7D7BDF

Accessibility & contrast

On white

9.85
#2F2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB3
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB3#FFFFFF#000000##FFFFFF
##2F2CB31.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2cb3;
/* rgb */ color: rgb(47, 44, 179);
/* oklch */ color: oklch(40.4% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d67cb',
    500: '#2f2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb3;
$custom-light: #7d67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb3",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 241.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.20338,
    "h": 273.4
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#2F2CB3
secondary
#C5C774
accent
#E444E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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