#2B2FB3#2B2FB3

#2B2FB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.5% C 0.201 H 271.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB3
RGBrgb(43, 47, 179)
HSLhsl(238, 61%, 44%)
HSVhsv(238, 76%, 70%)
CMYKcmyk(76%, 73.7%, 0%, 29.8%)
CIE-LABlab(28.90, 43.65, -69.57)
CIE-LCHlch(28.90, 82.13, 302.10°)
OKLaboklab(40.55% 0.006 -0.2014)
OKLCHoklch(40.55% 0.201 271.7)
XYZxyz(10.1467, 5.8002, 43.2239)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB3 #B3AF2B
analogous
#2B73B3 #2B2FB3 #6B2BB3
triadic
#2B2FB3 #B32B2F #2FB32B
tetradic
#2B2FB3 #B32B73 #B3AF2B #2BB36B
square
#2B2FB3 #B32B73 #B3AF2B #2BB36B
split-complementary
#2B2FB3 #B36B2B #73B32B
monochromatic
#131550 #1F2282 #2B2FB3 #484CD3 #797CDF

Accessibility & contrast

On white

9.72
#2B2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB3
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB3#FFFFFF#000000##FFFFFF
##2B2FB31.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2fb3;
/* rgb */ color: rgb(43, 47, 179);
/* oklch */ color: oklch(40.5% 0.201 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b69cb',
    500: '#2b2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb3;
$custom-light: #7b69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb3",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 238.235,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.20148,
    "h": 271.7
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#2B2FB3
secondary
#C7C473
accent
#E043E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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