#2B2FB8#2B2FB8

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

Color values

HEX#2B2FB8
RGBrgb(43, 47, 184)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 77%, 72%)
CMYKcmyk(76.6%, 74.5%, 0%, 27.8%)
CIE-LABlab(29.43, 45.33, -71.68)
CIE-LCHlch(29.43, 84.81, 302.31°)
OKLaboklab(41.08% 0.0052 -0.2075)
OKLCHoklch(41.08% 0.208 271.4)
XYZxyz(10.6616, 6.0062, 45.9355)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB8 #B8B42B
analogous
#2B76B8 #2B2FB8 #6E2BB8
triadic
#2B2FB8 #B82B2F #2FB82B
tetradic
#2B2FB8 #B82B76 #B8B42B #2BB86E
square
#2B2FB8 #B82B76 #B8B42B #2BB86E
split-complementary
#2B2FB8 #B86E2B #76B82B
monochromatic
#141655 #1F2286 #2B2FB8 #4B4FD5 #7D80E1

Accessibility & contrast

On white

9.54
#2B2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB8
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB8#FFFFFF#000000##FFFFFF
##2B2FB81.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2fb8;
/* rgb */ color: rgb(43, 47, 184);
/* oklch */ color: oklch(41.1% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c69cf',
    500: '#2b2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb8;
$custom-light: #7c69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb8",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 238.298,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.20758,
    "h": 271.4
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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