#1E438C#1E438C

#1E438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.129 H 262.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1E438C
RGBrgb(30, 67, 140)
HSLhsl(220, 65%, 33%)
HSVhsv(220, 79%, 55%)
CMYKcmyk(78.6%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.87, 14.58, -44.38)
CIE-LCHlch(29.87, 46.71, 288.18°)
OKLaboklab(40.04% -0.0177 -0.1277)
OKLCHoklch(40.04% 0.129 262.1)
XYZxyz(7.2745, 6.1829, 25.6159)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E438C #8C671E
analogous
#1E7A8C #1E438C #301E8C
triadic
#1E438C #8C1E43 #438C1E
tetradic
#1E438C #8C1E7A #8C671E #1E8C30
square
#1E438C #8C1E7A #8C671E #1E8C30
split-complementary
#1E438C #8C301E #7A8C1E
monochromatic
#081327 #132B5A #1E438C #295BBE #4C7BD9

Accessibility & contrast

On white

9.39
#1E438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1E438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E438C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E438C#FFFFFF#000000##FFFFFF
##1E438C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e438c;
/* rgb */ color: rgb(30, 67, 140);
/* oklch */ color: oklch(40.0% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#6b76ae',
    500: '#1e438c',
    950: '#000000',
  },
}
SCSS
$custom: #1e438c;
$custom-light: #6b76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e438c",
  "rgb": {
    "r": 30,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 219.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.12892,
    "h": 262.1
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#1E438C
secondary
#BB954B
accent
#AF40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E438C

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

Preview Lab → · Contrast checker → · Palette generator →

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