#2B1E9F#2B1E9F

#2B1E9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.193 H 275.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2B1E9F
RGBrgb(43, 30, 159)
HSLhsl(246, 68%, 37%)
HSVhsv(246, 81%, 62%)
CMYKcmyk(73%, 81.1%, 0%, 37.6%)
CIE-LABlab(23.49, 46.30, -66.46)
CIE-LCHlch(23.49, 81.00, 304.86°)
OKLaboklab(36.09% 0.0175 -0.1922)
OKLCHoklch(36.09% 0.193 275.2)
XYZxyz(7.7165, 3.9446, 33.1489)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E9F #929F1E
analogous
#1E519F #2B1E9F #6C1E9F
triadic
#2B1E9F #9F2B1E #1E9F2B
tetradic
#2B1E9F #9F1E51 #929F1E #1E9F6C
square
#2B1E9F #9F1E51 #929F1E #1E9F6C
split-complementary
#2B1E9F #9F6C1E #519F1E
monochromatic
#0F0B38 #1D146C #2B1E9F #3928D2 #6658DF

Accessibility & contrast

On white

11.74
#2B1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E9F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E9F#FFFFFF#000000##FFFFFF
##2B1E9F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b1e9f;
/* rgb */ color: rgb(43, 30, 159);
/* oklch */ color: oklch(36.1% 0.193 275.2);
Tailwind
colors: {
  custom: {
    50: '#785ebd',
    500: '#2b1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e9f;
$custom-light: #785ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e9f",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 246.047,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.19297,
    "h": 275.2
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#2B1E9F
secondary
#B8C356
accent
#EB3DDA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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