#2B2FB9#2B2FB9

#2B2FB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.209 H 271.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB9
RGBrgb(43, 47, 185)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 77%, 73%)
CMYKcmyk(76.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(29.53, 45.66, -72.09)
CIE-LCHlch(29.53, 85.34, 302.35°)
OKLaboklab(41.19% 0.0051 -0.2087)
OKLCHoklch(41.19% 0.209 271.4)
XYZxyz(10.7668, 6.0482, 46.4895)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB9 #B9B52B
analogous
#2B76B9 #2B2FB9 #6E2BB9
triadic
#2B2FB9 #B92B2F #2FB92B
tetradic
#2B2FB9 #B92B76 #B9B52B #2BB96E
square
#2B2FB9 #B92B76 #B9B52B #2BB96E
split-complementary
#2B2FB9 #B96E2B #76B92B
monochromatic
#141656 #1F2287 #2B2FB9 #4C50D5 #7E80E1

Accessibility & contrast

On white

9.50
#2B2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB9#FFFFFF#000000##FFFFFF
##2B2FB91.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b2fb9;
/* rgb */ color: rgb(43, 47, 185);
/* oklch */ color: oklch(41.2% 0.209 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2b2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb9",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 238.31,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.20879,
    "h": 271.4
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#2B2FB9
secondary
#C9C776
accent
#E142E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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