#1E397C#1E397C

#1E397C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.119 H 264.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1E397C
RGBrgb(30, 57, 124)
HSLhsl(223, 61%, 30%)
HSVhsv(223, 76%, 49%)
CMYKcmyk(75.8%, 54%, 0%, 51.4%)
CIE-LABlab(25.73, 15.08, -41.10)
CIE-LCHlch(25.73, 43.78, 290.15°)
OKLaboklab(36.51% -0.0111 -0.1182)
OKLCHoklch(36.51% 0.119 264.6)
XYZxyz(5.6354, 4.6569, 19.6668)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E397C #7C611E
analogous
#1E687C #1E397C #321E7C
triadic
#1E397C #7C1E39 #397C1E
tetradic
#1E397C #7C1E68 #7C611E #1E7C32
square
#1E397C #7C1E68 #7C611E #1E7C32
split-complementary
#1E397C #7C321E #687C1E
monochromatic
#060C19 #12224B #1E397C #2A50AD #436CD1

Accessibility & contrast

On white

10.87
#1E397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E397C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E397C#FFFFFF#000000##FFFFFF
##1E397C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e397c;
/* rgb */ color: rgb(30, 57, 124);
/* oklch */ color: oklch(36.5% 0.119 264.6);
Tailwind
colors: {
  custom: {
    50: '#686ea2',
    500: '#1e397c',
    950: '#000000',
  },
}
SCSS
$custom: #1e397c;
$custom-light: #686ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e397c",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 222.766,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.11875,
    "h": 264.6
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#1E397C
secondary
#AF9146
accent
#B644E4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E397C

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

Preview Lab → · Contrast checker → · Palette generator →

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