#1E2F62#1E2F62

#1E2F62 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.093 H 267.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1E2F62
RGBrgb(30, 47, 98)
HSLhsl(225, 53%, 25%)
HSVhsv(225, 69%, 38%)
CMYKcmyk(69.4%, 52%, 0%, 61.6%)
CIE-LABlab(20.79, 11.72, -32.38)
CIE-LCHlch(20.79, 34.43, 289.90°)
OKLaboklab(32.14% -0.0046 -0.0927)
OKLCHoklch(32.14% 0.093 267.2)
XYZxyz(3.7558, 3.1905, 11.9708)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F62 #62511E
analogous
#1E5162 #1E2F62 #2F1E62
triadic
#1E2F62 #621E2F #2F621E
tetradic
#1E2F62 #621E51 #62511E #1E622F
square
#1E2F62 #621E51 #62511E #1E622F
split-complementary
#1E2F62 #622F1E #51621E
monochromatic
#070B17 #101933 #1E2F62 #2C4591 #3B5CC0

Accessibility & contrast

On white

12.82
#1E2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F62
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F62#FFFFFF#000000##FFFFFF
##1E2F621.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#052F61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2f62;
/* rgb */ color: rgb(30, 47, 98);
/* oklch */ color: oklch(32.1% 0.093 267.2);
Tailwind
colors: {
  custom: {
    50: '#62678f',
    500: '#1e2f62',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f62;
$custom-light: #62678f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f62",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 225,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.09286,
    "h": 267.2
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#1E2F62
secondary
#978245
accent
#B84BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #1E2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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