#1E2A68#1E2A68

#1E2A68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.109 H 270.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1E2A68
RGBrgb(30, 42, 104)
HSLhsl(230, 55%, 26%)
HSVhsv(230, 71%, 41%)
CMYKcmyk(71.2%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.77, 17.72, -37.96)
CIE-LCHlch(19.77, 41.89, 295.02°)
OKLaboklab(31.51% 0.0011 -0.1092)
OKLCHoklch(31.51% 0.109 270.6)
XYZxyz(3.8612, 2.9311, 13.4563)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A68 #685C1E
analogous
#1E4F68 #1E2A68 #371E68
triadic
#1E2A68 #681E2A #2A681E
tetradic
#1E2A68 #681E4F #685C1E #1E6837
square
#1E2A68 #681E4F #685C1E #1E6837
split-complementary
#1E2A68 #68371E #4F681E
monochromatic
#070A18 #101739 #1E2A68 #2C3D98 #3A51C6

Accessibility & contrast

On white

13.24
#1E2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A68
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A68#FFFFFF#000000##FFFFFF
##1E2A681.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2a68;
/* rgb */ color: rgb(30, 42, 104);
/* oklch */ color: oklch(31.5% 0.109 270.6);
Tailwind
colors: {
  custom: {
    50: '#646394',
    500: '#1e2a68',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a68;
$custom-light: #646394;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a68",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 230.27,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.10925,
    "h": 270.6
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#1E2A68
secondary
#9D8E45
accent
#C649DF
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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