#2B2FB7#2B2FB7

#2B2FB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.206 H 271.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB7
RGBrgb(43, 47, 183)
HSLhsl(238, 62%, 44%)
HSVhsv(238, 77%, 72%)
CMYKcmyk(76.5%, 74.3%, 0%, 28.2%)
CIE-LABlab(29.32, 44.99, -71.26)
CIE-LCHlch(29.32, 84.27, 302.27°)
OKLaboklab(40.97% 0.0054 -0.2063)
OKLCHoklch(40.97% 0.206 271.5)
XYZxyz(10.5571, 5.9644, 45.3854)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB7 #B7B32B
analogous
#2B75B7 #2B2FB7 #6D2BB7
triadic
#2B2FB7 #B72B2F #2FB72B
tetradic
#2B2FB7 #B72B75 #B7B32B #2BB76D
square
#2B2FB7 #B72B75 #B7B32B #2BB76D
split-complementary
#2B2FB7 #B76D2B #75B72B
monochromatic
#141654 #1F2285 #2B2FB7 #4B4FD5 #7C7FE0

Accessibility & contrast

On white

9.58
#2B2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB7
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB7#FFFFFF#000000##FFFFFF
##2B2FB71.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2fb7;
/* rgb */ color: rgb(43, 47, 183);
/* oklch */ color: oklch(41.0% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c69ce',
    500: '#2b2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb7;
$custom-light: #7c69ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb7",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 238.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.20637,
    "h": 271.5
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#2B2FB7
secondary
#C9C675
accent
#E043E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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