#1E306D#1E306D

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

Color values

HEX#1E306D
RGBrgb(30, 48, 109)
HSLhsl(226, 57%, 27%)
HSVhsv(226, 72%, 43%)
CMYKcmyk(72.5%, 56%, 0%, 57.3%)
CIE-LABlab(21.92, 15.42, -37.71)
CIE-LCHlch(21.92, 40.74, 292.24°)
OKLaboklab(33.26% -0.0043 -0.1084)
OKLCHoklch(33.26% 0.109 267.7)
XYZxyz(4.3517, 3.4936, 14.9100)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E306D #6D5B1E
analogous
#1E586D #1E306D #331E6D
triadic
#1E306D #6D1E30 #306D1E
tetradic
#1E306D #6D1E58 #6D5B1E #1E6D33
square
#1E306D #6D1E58 #6D5B1E #1E6D33
split-complementary
#1E306D #6D331E #586D1E
monochromatic
#070B18 #111B3D #1E306D #2B459D #3C5CC9

Accessibility & contrast

On white

12.36
#1E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E306D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E306D#FFFFFF#000000##FFFFFF
##1E306D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e306d;
/* rgb */ color: rgb(30, 48, 109);
/* oklch */ color: oklch(33.3% 0.108 267.7);
Tailwind
colors: {
  custom: {
    50: '#656797',
    500: '#1e306d',
    950: '#000000',
  },
}
SCSS
$custom: #1e306d;
$custom-light: #656797;
$custom-dark: #000000;
JSON
{
  "hex": "#1e306d",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 226.329,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33259,
    "c": 0.1085,
    "h": 267.7
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#1E306D
secondary
#A18C45
accent
#BD48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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