#2B2FB5#2B2FB5

#2B2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 271.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB5
RGBrgb(43, 47, 181)
HSLhsl(238, 62%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(76.2%, 74%, 0%, 29%)
CIE-LABlab(29.11, 44.32, -70.42)
CIE-LCHlch(29.11, 83.20, 302.19°)
OKLaboklab(40.76% 0.0057 -0.2038)
OKLCHoklch(40.76% 0.204 271.6)
XYZxyz(10.3504, 5.8817, 44.2969)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB5 #B5B12B
analogous
#2B74B5 #2B2FB5 #6C2BB5
triadic
#2B2FB5 #B52B2F #2FB52B
tetradic
#2B2FB5 #B52B74 #B5B12B #2BB56C
square
#2B2FB5 #B52B74 #B5B12B #2BB56C
split-complementary
#2B2FB5 #B56C2B #74B52B
monochromatic
#141552 #1F2284 #2B2FB5 #494DD4 #7B7EE0

Accessibility & contrast

On white

9.65
#2B2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB5
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB5#FFFFFF#000000##FFFFFF
##2B2FB51.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2fb5;
/* rgb */ color: rgb(43, 47, 181);
/* oklch */ color: oklch(40.8% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2b2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb5;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb5",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 238.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.20393,
    "h": 271.6
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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