#1E306F#1E306F

#1E306F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.112 H 267.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1E306F
RGBrgb(30, 48, 111)
HSLhsl(227, 57%, 28%)
HSVhsv(227, 73%, 44%)
CMYKcmyk(73%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.08, 16.22, -38.74)
CIE-LCHlch(22.08, 42.00, 292.72°)
OKLaboklab(33.43% -0.0042 -0.1114)
OKLCHoklch(33.43% 0.112 267.9)
XYZxyz(4.4606, 3.5372, 15.4835)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E306F #6F5D1E
analogous
#1E586F #1E306F #351E6F
triadic
#1E306F #6F1E30 #306F1E
tetradic
#1E306F #6F1E58 #6F5D1E #1E6F35
square
#1E306F #6F1E58 #6F5D1E #1E6F35
split-complementary
#1E306F #6F351E #586F1E
monochromatic
#070A18 #111B3F #1E306F #2B459F #3D5CCB

Accessibility & contrast

On white

12.30
#1E306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E306F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E306F#FFFFFF#000000##FFFFFF
##1E306F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e306f;
/* rgb */ color: rgb(30, 48, 111);
/* oklch */ color: oklch(33.4% 0.112 267.9);
Tailwind
colors: {
  custom: {
    50: '#656799',
    500: '#1e306f',
    950: '#000000',
  },
}
SCSS
$custom: #1e306f;
$custom-light: #656799;
$custom-dark: #000000;
JSON
{
  "hex": "#1e306f",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 226.667,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33428,
    "c": 0.11153,
    "h": 267.9
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#1E306F
secondary
#A38E46
accent
#BF47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E306F

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

Preview Lab → · Contrast checker → · Palette generator →

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