#1E345F#1E345F

#1E345F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.081 H 262.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1E345F
RGBrgb(30, 52, 95)
HSLhsl(220, 52%, 25%)
HSVhsv(220, 68%, 37%)
CMYKcmyk(68.4%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.15, 6.94, -28.23)
CIE-LCHlch(22.15, 29.07, 283.81°)
OKLaboklab(33.12% -0.0107 -0.0805)
OKLCHoklch(33.12% 0.081 262.4)
XYZxyz(3.8282, 3.5579, 11.3092)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E345F #5F491E
analogous
#1E555F #1E345F #281E5F
triadic
#1E345F #5F1E34 #345F1E
tetradic
#1E345F #5F1E55 #5F491E #1E5F28
square
#1E345F #5F1E55 #5F491E #1E5F28
split-complementary
#1E345F #5F281E #555F1E
monochromatic
#070D17 #0F1B30 #1E345F #2D4D8E #3B67BC

Accessibility & contrast

On white

12.27
#1E345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E345F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E345F#FFFFFF#000000##FFFFFF
##1E345F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e345f;
/* rgb */ color: rgb(30, 52, 95);
/* oklch */ color: oklch(33.1% 0.081 262.4);
Tailwind
colors: {
  custom: {
    50: '#616b8d',
    500: '#1e345f',
    950: '#000000',
  },
}
SCSS
$custom: #1e345f;
$custom-light: #616b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e345f",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 219.692,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.08119,
    "h": 262.4
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#1E345F
secondary
#947945
accent
#AB4CDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E345F

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

Preview Lab → · Contrast checker → · Palette generator →

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