#1E307A#1E307A

#1E307A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.128 H 268.4°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1E307A
RGBrgb(30, 48, 122)
HSLhsl(228, 61%, 30%)
HSVhsv(228, 75%, 48%)
CMYKcmyk(75.4%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.98, 20.62, -44.30)
CIE-LCHlch(22.98, 48.87, 294.96°)
OKLaboklab(34.39% -0.0036 -0.1278)
OKLCHoklch(34.39% 0.128 268.4)
XYZxyz(5.1040, 3.7945, 18.8720)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E307A #7A681E
analogous
#1E5E7A #1E307A #3A1E7A
triadic
#1E307A #7A1E30 #307A1E
tetradic
#1E307A #7A1E5E #7A681E #1E7A3A
square
#1E307A #7A1E5E #7A681E #1E7A3A
split-complementary
#1E307A #7A3A1E #5E7A1E
monochromatic
#060A19 #121D49 #1E307A #2A43AB #425ED0

Accessibility & contrast

On white

11.94
#1E307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E307A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E307A#FFFFFF#000000##FFFFFF
##1E307A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e307a;
/* rgb */ color: rgb(30, 48, 122);
/* oklch */ color: oklch(34.4% 0.128 268.4);
Tailwind
colors: {
  custom: {
    50: '#6868a1',
    500: '#1e307a',
    950: '#000000',
  },
}
SCSS
$custom: #1e307a;
$custom-light: #6868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e307a",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 228.261,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34388,
    "c": 0.12786,
    "h": 268.4
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#1E307A
secondary
#AE9946
accent
#C444E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E307A

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

Preview Lab → · Contrast checker → · Palette generator →

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