#1E307B#1E307B

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

Color values

HEX#1E307B
RGBrgb(30, 48, 123)
HSLhsl(228, 61%, 30%)
HSVhsv(228, 76%, 48%)
CMYKcmyk(75.6%, 61%, 0%, 51.8%)
CIE-LABlab(23.07, 21.02, -44.80)
CIE-LCHlch(23.07, 49.48, 295.13°)
OKLaboklab(34.48% -0.0036 -0.1293)
OKLCHoklch(34.48% 0.129 268.4)
XYZxyz(5.1663, 3.8194, 19.2000)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E307B #7B691E
analogous
#1E5F7B #1E307B #3A1E7B
triadic
#1E307B #7B1E30 #307B1E
tetradic
#1E307B #7B1E5F #7B691E #1E7B3A
square
#1E307B #7B1E5F #7B691E #1E7B3A
split-complementary
#1E307B #7B3A1E #5F7B1E
monochromatic
#060A19 #121D4A #1E307B #2A43AC #425ED1

Accessibility & contrast

On white

11.90
#1E307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E307B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E307B#FFFFFF#000000##FFFFFF
##1E307B1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e307b;
/* rgb */ color: rgb(30, 48, 123);
/* oklch */ color: oklch(34.5% 0.129 268.4);
Tailwind
colors: {
  custom: {
    50: '#6868a2',
    500: '#1e307b',
    950: '#000000',
  },
}
SCSS
$custom: #1e307b;
$custom-light: #6868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e307b",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 228.387,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.12931,
    "h": 268.4
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#1E307B
secondary
#AE9A46
accent
#C544E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E307B

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

Preview Lab → · Contrast checker → · Palette generator →

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