#1E2768#1E2768

#1E2768 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.113 H 272.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1E2768
RGBrgb(30, 39, 104)
HSLhsl(233, 55%, 26%)
HSVhsv(233, 71%, 41%)
CMYKcmyk(71.2%, 62.5%, 0%, 59.2%)
CIE-LABlab(18.91, 19.87, -39.34)
CIE-LCHlch(18.91, 44.07, 296.79°)
OKLaboklab(30.88% 0.0039 -0.1133)
OKLCHoklch(30.88% 0.113 272)
XYZxyz(3.7588, 2.7262, 13.4221)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2768 #685F1E
analogous
#1E4C68 #1E2768 #3A1E68
triadic
#1E2768 #681E27 #27681E
tetradic
#1E2768 #681E4C #685F1E #1E683A
square
#1E2768 #681E4C #685F1E #1E683A
split-complementary
#1E2768 #683A1E #4C681E
monochromatic
#070918 #101539 #1E2768 #2C3998 #3A4BC6

Accessibility & contrast

On white

13.59
#1E2768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E2768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2768
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2768#FFFFFF#000000##FFFFFF
##1E27681.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2768;
/* rgb */ color: rgb(30, 39, 104);
/* oklch */ color: oklch(30.9% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#646194',
    500: '#1e2768',
    950: '#000000',
  },
}
SCSS
$custom: #1e2768;
$custom-light: #646194;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2768",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 232.703,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.11342,
    "h": 272
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#1E2768
secondary
#9D9245
accent
#CC49DF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E2768

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

Preview Lab → · Contrast checker → · Palette generator →

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