#2B1EA0#2B1EA0

#2B1EA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.194 H 275.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2B1EA0
RGBrgb(43, 30, 160)
HSLhsl(246, 68%, 37%)
HSVhsv(246, 81%, 63%)
CMYKcmyk(73.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(23.60, 46.61, -66.88)
CIE-LCHlch(23.60, 81.52, 304.87°)
OKLaboklab(36.2% 0.0172 -0.1934)
OKLCHoklch(36.2% 0.194 275.1)
XYZxyz(7.8036, 3.9794, 33.6077)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1EA0 #93A01E
analogous
#1E52A0 #2B1EA0 #6C1EA0
triadic
#2B1EA0 #A02B1E #1EA02B
tetradic
#2B1EA0 #A01E52 #93A01E #1EA06C
square
#2B1EA0 #A01E52 #93A01E #1EA06C
split-complementary
#2B1EA0 #A06C1E #52A01E
monochromatic
#0F0B39 #1D146C #2B1EA0 #3928D4 #6659E0

Accessibility & contrast

On white

11.69
#2B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1EA0
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1EA0#FFFFFF#000000##FFFFFF
##2B1EA01.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b1ea0;
/* rgb */ color: rgb(43, 30, 160);
/* oklch */ color: oklch(36.2% 0.194 275.1);
Tailwind
colors: {
  custom: {
    50: '#785ebd',
    500: '#2b1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ea0;
$custom-light: #785ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ea0",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 246,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.19416,
    "h": 275.1
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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