#2F2BB2#2F2BB2

#2F2BB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.203 H 273.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB2
RGBrgb(47, 43, 178)
HSLhsl(242, 61%, 43%)
HSVhsv(242, 76%, 70%)
CMYKcmyk(73.6%, 75.8%, 0%, 30.2%)
CIE-LABlab(28.24, 45.92, -70.07)
CIE-LCHlch(28.24, 83.77, 303.24°)
OKLaboklab(40.11% 0.0127 -0.2027)
OKLCHoklch(40.11% 0.203 273.6)
XYZxyz(10.0694, 5.5454, 42.6506)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB2 #AEB22B
analogous
#2B6AB2 #2F2BB2 #722BB2
triadic
#2F2BB2 #B22F2B #2BB22F
tetradic
#2F2BB2 #B22B6A #AEB22B #2BB272
square
#2F2BB2 #B22B6A #AEB22B #2BB272
split-complementary
#2F2BB2 #B2722B #6AB22B
monochromatic
#15134F #221F81 #2F2BB2 #4C48D3 #7C79DF

Accessibility & contrast

On white

9.96
#2F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB2
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB2#FFFFFF#000000##FFFFFF
##2F2BB21.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2bb2;
/* rgb */ color: rgb(47, 43, 178);
/* oklch */ color: oklch(40.1% 0.203 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d67ca',
    500: '#2f2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb2;
$custom-light: #7d67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb2",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 241.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.20312,
    "h": 273.6
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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