#1E306E#1E306E

#1E306E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.110 H 267.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1E306E
RGBrgb(30, 48, 110)
HSLhsl(227, 57%, 27%)
HSVhsv(227, 73%, 43%)
CMYKcmyk(72.7%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.00, 15.82, -38.22)
CIE-LCHlch(22.00, 41.37, 292.48°)
OKLaboklab(33.34% -0.0042 -0.1099)
OKLCHoklch(33.34% 0.11 267.8)
XYZxyz(4.4059, 3.5153, 15.1952)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E306E #6E5C1E
analogous
#1E586E #1E306E #341E6E
triadic
#1E306E #6E1E30 #306E1E
tetradic
#1E306E #6E1E58 #6E5C1E #1E6E34
square
#1E306E #6E1E58 #6E5C1E #1E6E34
split-complementary
#1E306E #6E341E #586E1E
monochromatic
#070A18 #111B3E #1E306E #2B459E #3C5CCA

Accessibility & contrast

On white

12.33
#1E306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E306E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E306E#FFFFFF#000000##FFFFFF
##1E306E1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e306e;
/* rgb */ color: rgb(30, 48, 110);
/* oklch */ color: oklch(33.3% 0.110 267.8);
Tailwind
colors: {
  custom: {
    50: '#656798',
    500: '#1e306e',
    950: '#000000',
  },
}
SCSS
$custom: #1e306e;
$custom-light: #656798;
$custom-dark: #000000;
JSON
{
  "hex": "#1e306e",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 226.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.11001,
    "h": 267.8
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#1E306E
secondary
#A28D46
accent
#BE47E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E306E

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

Preview Lab → · Contrast checker → · Palette generator →

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