#1E1FBB#1E1FBB

#1E1FBB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.8% C 0.228 H 268.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1E1FBB
RGBrgb(30, 31, 187)
HSLhsl(240, 72%, 43%)
HSVhsv(240, 84%, 73%)
CMYKcmyk(84%, 83.4%, 0%, 26.7%)
CIE-LABlab(26.28, 53.73, -78.69)
CIE-LCHlch(26.28, 95.29, 304.33°)
OKLaboklab(38.8% -0.0046 -0.2278)
OKLCHoklch(38.8% 0.228 268.8)
XYZxyz(9.9920, 4.8426, 47.4122)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1FBB #BBBA1E
analogous
#1E6DBB #1E1FBB #6C1EBB
triadic
#1E1FBB #BB1E1F #1FBB1E
tetradic
#1E1FBB #BB1E6D #BBBA1E #1EBB6C
square
#1E1FBB #BB1E6D #BBBA1E #1EBB6C
split-complementary
#1E1FBB #BB6C1E #6DBB1E
monochromatic
#0D0E52 #161686 #1E1FBB #3738DF #6C6DE7

Accessibility & contrast

On white

10.67
#1E1FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E1FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1FBB
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1FBB#FFFFFF#000000##FFFFFF
##1E1FBB1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BF
Deuteranopia (green-blind)
#0036B8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e1fbb;
/* rgb */ color: rgb(30, 31, 187);
/* oklch */ color: oklch(38.8% 0.228 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b60d1',
    500: '#1e1fbb',
    950: '#000000',
  },
}
SCSS
$custom: #1e1fbb;
$custom-light: #7b60d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1fbb",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 239.618,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.22788,
    "h": 268.8
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#1E1FBB
secondary
#CDCD67
accent
#EE39EF
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #1E1FBB

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

Preview Lab → · Contrast checker → · Palette generator →

#1E1FBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva