#2B2FC9#2B2FC9

#2B2FC9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.228 H 270.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B2FC9
RGBrgb(43, 47, 201)
HSLhsl(238, 65%, 48%)
HSVhsv(238, 79%, 79%)
CMYKcmyk(78.6%, 76.6%, 0%, 21.2%)
CIE-LABlab(31.26, 50.92, -78.65)
CIE-LCHlch(31.26, 93.70, 302.92°)
OKLaboklab(42.91% 0.0023 -0.2278)
OKLCHoklch(42.91% 0.228 270.6)
XYZxyz(12.5518, 6.7622, 55.8907)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FC9 #C9C52B
analogous
#2B7EC9 #2B2FC9 #762BC9
triadic
#2B2FC9 #C92B2F #2FC92B
tetradic
#2B2FC9 #C92B7E #C9C52B #2BC976
square
#2B2FC9 #C92B7E #C9C52B #2BC976
split-complementary
#2B2FC9 #C9762B #7EC92B
monochromatic
#151764 #202397 #2B2FC9 #565ADB #898BE6

Accessibility & contrast

On white

8.93
#2B2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FC9
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FC9#FFFFFF#000000##FFFFFF
##2B2FC91.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b2fc9;
/* rgb */ color: rgb(43, 47, 201);
/* oklch */ color: oklch(42.9% 0.228 270.6);
Tailwind
colors: {
  custom: {
    50: '#806adb',
    500: '#2b2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fc9;
$custom-light: #806adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fc9",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 238.481,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.22779,
    "h": 270.6
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#2B2FC9
secondary
#CFCD80
accent
#E340E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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