#2B2FCA#2B2FCA

#2B2FCA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.229 H 270.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2FCA
RGBrgb(43, 47, 202)
HSLhsl(238, 65%, 48%)
HSVhsv(238, 79%, 79%)
CMYKcmyk(78.7%, 76.7%, 0%, 20.8%)
CIE-LABlab(31.37, 51.24, -79.06)
CIE-LCHlch(31.37, 94.21, 302.95°)
OKLaboklab(43.02% 0.0021 -0.2289)
OKLCHoklch(43.02% 0.229 270.5)
XYZxyz(12.6698, 6.8095, 56.5123)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FCA #CAC62B
analogous
#2B7ECA #2B2FCA #772BCA
triadic
#2B2FCA #CA2B2F #2FCA2B
tetradic
#2B2FCA #CA2B7E #CAC62B #2BCA77
square
#2B2FCA #CA2B7E #CAC62B #2BCA77
split-complementary
#2B2FCA #CA772B #7ECA2B
monochromatic
#161865 #202398 #2B2FCA #575ADB #898CE6

Accessibility & contrast

On white

8.89
#2B2FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B2FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FCA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FCA#FFFFFF#000000##FFFFFF
##2B2FCA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b2fca;
/* rgb */ color: rgb(43, 47, 202);
/* oklch */ color: oklch(43.0% 0.229 270.5);
Tailwind
colors: {
  custom: {
    50: '#816adc',
    500: '#2b2fca',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fca;
$custom-light: #816adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fca",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 238.491,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.22896,
    "h": 270.5
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#2B2FCA
secondary
#D0CE81
accent
#E440E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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