#1E306A#1E306A

#1E306A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.104 H 267.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E306A
RGBrgb(30, 48, 106)
HSLhsl(226, 56%, 27%)
HSVhsv(226, 72%, 42%)
CMYKcmyk(71.7%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.69, 14.21, -36.14)
CIE-LCHlch(21.69, 38.83, 291.47°)
OKLaboklab(33.01% -0.0046 -0.1038)
OKLCHoklch(33.01% 0.104 267.5)
XYZxyz(4.1930, 3.4301, 14.0740)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E306A #6A581E
analogous
#1E566A #1E306A #321E6A
triadic
#1E306A #6A1E30 #306A1E
tetradic
#1E306A #6A1E56 #6A581E #1E6A32
square
#1E306A #6A1E56 #6A581E #1E6A32
split-complementary
#1E306A #6A321E #566A1E
monochromatic
#070B18 #111A3A #1E306A #2C469A #3B5CC7

Accessibility & contrast

On white

12.45
#1E306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E306A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E306A#FFFFFF#000000##FFFFFF
##1E306A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e306a;
/* rgb */ color: rgb(30, 48, 106);
/* oklch */ color: oklch(33.0% 0.104 267.5);
Tailwind
colors: {
  custom: {
    50: '#646795',
    500: '#1e306a',
    950: '#000000',
  },
}
SCSS
$custom: #1e306a;
$custom-light: #646795;
$custom-dark: #000000;
JSON
{
  "hex": "#1e306a",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 225.789,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.1039,
    "h": 267.5
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1E306A
secondary
#9E8945
accent
#BC49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E306A

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

Preview Lab → · Contrast checker → · Palette generator →

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