#2B2FBF#2B2FBF

#2B2FBF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.216 H 271.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2FBF
RGBrgb(43, 47, 191)
HSLhsl(238, 63%, 46%)
HSVhsv(238, 77%, 75%)
CMYKcmyk(77.5%, 75.4%, 0%, 25.1%)
CIE-LABlab(30.17, 47.65, -74.58)
CIE-LCHlch(30.17, 88.51, 302.58°)
OKLaboklab(41.83% 0.004 -0.216)
OKLCHoklch(41.83% 0.216 271.1)
XYZxyz(11.4136, 6.3069, 49.8959)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FBF #BFBB2B
analogous
#2B79BF #2B2FBF #712BBF
triadic
#2B2FBF #BF2B2F #2FBF2B
tetradic
#2B2FBF #BF2B79 #BFBB2B #2BBF71
square
#2B2FBF #BF2B79 #BFBB2B #2BBF71
split-complementary
#2B2FBF #BF712B #79BF2B
monochromatic
#15165B #20238D #2B2FBF #5053D8 #8284E3

Accessibility & contrast

On white

9.29
#2B2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FBF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FBF#FFFFFF#000000##FFFFFF
##2B2FBF1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b2fbf;
/* rgb */ color: rgb(43, 47, 191);
/* oklch */ color: oklch(41.8% 0.216 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e69d4',
    500: '#2b2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fbf;
$custom-light: #7e69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fbf",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 238.378,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.216,
    "h": 271.1
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#2B2FBF
secondary
#CCC97A
accent
#E242E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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