#2F2BB1#2F2BB1

#2F2BB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.202 H 273.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB1
RGBrgb(47, 43, 177)
HSLhsl(242, 61%, 43%)
HSVhsv(242, 76%, 69%)
CMYKcmyk(73.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(28.13, 45.59, -69.65)
CIE-LCHlch(28.13, 83.24, 303.21°)
OKLaboklab(40% 0.0129 -0.2015)
OKLCHoklch(40% 0.202 273.7)
XYZxyz(9.9693, 5.5054, 42.1237)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB1 #ADB12B
analogous
#2B6AB1 #2F2BB1 #722BB1
triadic
#2F2BB1 #B12F2B #2BB12F
tetradic
#2F2BB1 #B12B6A #ADB12B #2BB172
square
#2F2BB1 #B12B6A #ADB12B #2BB172
split-complementary
#2F2BB1 #B1722B #6AB12B
monochromatic
#15134F #221F80 #2F2BB1 #4B47D2 #7B78DE

Accessibility & contrast

On white

9.99
#2F2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB1
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB1#FFFFFF#000000##FFFFFF
##2F2BB11.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2bb1;
/* rgb */ color: rgb(47, 43, 177);
/* oklch */ color: oklch(40.0% 0.202 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c67ca',
    500: '#2f2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb1;
$custom-light: #7c67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb1",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 241.791,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4,
    "c": 0.2019,
    "h": 273.7
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#2F2BB1
secondary
#C4C672
accent
#E444DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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