#1E2BA7#1E2BA7

#1E2BA7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.194 H 268.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1E2BA7
RGBrgb(30, 43, 167)
HSLhsl(234, 70%, 39%)
HSVhsv(234, 82%, 65%)
CMYKcmyk(82%, 74.3%, 0%, 34.5%)
CIE-LABlab(26.14, 40.85, -66.96)
CIE-LCHlch(26.14, 78.44, 301.38°)
OKLaboklab(38.02% -0.004 -0.194)
OKLCHoklch(38.02% 0.194 268.8)
XYZxyz(8.3719, 4.7928, 37.0356)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2BA7 #A79A1E
analogous
#1E6FA7 #1E2BA7 #561EA7
triadic
#1E2BA7 #A71E2B #2BA71E
tetradic
#1E2BA7 #A71E6F #A79A1E #1EA756
square
#1E2BA7 #A71E6F #A79A1E #1EA756
split-complementary
#1E2BA7 #A7561E #6FA71E
monochromatic
#0B103F #151E73 #1E2BA7 #2A3AD9 #5D6AE2

Accessibility & contrast

On white

10.72
#1E2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2BA7
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2BA7#FFFFFF#000000##FFFFFF
##1E2BA71.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e2ba7;
/* rgb */ color: rgb(30, 43, 167);
/* oklch */ color: oklch(38.0% 0.194 268.8);
Tailwind
colors: {
  custom: {
    50: '#7465c2',
    500: '#1e2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #1e2ba7;
$custom-light: #7465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2ba7",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 234.307,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38019,
    "c": 0.19407,
    "h": 268.8
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#1E2BA7
secondary
#C6BC5B
accent
#DC3BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1E2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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