#1E2A6B#1E2A6B

#1E2A6B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.114 H 270.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1E2A6B
RGBrgb(30, 42, 107)
HSLhsl(231, 56%, 27%)
HSVhsv(231, 72%, 42%)
CMYKcmyk(72%, 60.7%, 0%, 58%)
CIE-LABlab(20.02, 18.91, -39.50)
CIE-LCHlch(20.02, 43.79, 295.58°)
OKLaboklab(31.78% 0.0012 -0.1138)
OKLCHoklch(31.78% 0.114 270.6)
XYZxyz(4.0163, 2.9931, 14.2731)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A6B #6B5F1E
analogous
#1E516B #1E2A6B #391E6B
triadic
#1E2A6B #6B1E2A #2A6B1E
tetradic
#1E2A6B #6B1E51 #6B5F1E #1E6B39
square
#1E2A6B #6B1E51 #6B5F1E #1E6B39
split-complementary
#1E2A6B #6B391E #516B1E
monochromatic
#070918 #11173B #1E2A6B #2B3D9B #3B51C8

Accessibility & contrast

On white

13.14
#1E2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A6B
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A6B#FFFFFF#000000##FFFFFF
##1E2A6B1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2a6b;
/* rgb */ color: rgb(30, 42, 107);
/* oklch */ color: oklch(31.8% 0.114 270.6);
Tailwind
colors: {
  custom: {
    50: '#656396',
    500: '#1e2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a6b;
$custom-light: #656396;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a6b",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 230.649,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.11379,
    "h": 270.6
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#1E2A6B
secondary
#9F9145
accent
#C848DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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