#1E2F85#1E2F85

#1E2F85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.145 H 268.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#1E2F85
RGBrgb(30, 47, 133)
HSLhsl(230, 63%, 32%)
HSVhsv(230, 77%, 52%)
CMYKcmyk(77.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(23.68, 25.64, -50.10)
CIE-LCHlch(23.68, 56.28, 297.11°)
OKLaboklab(35.21% -0.0029 -0.1448)
OKLCHoklch(35.21% 0.145 268.8)
XYZxyz(5.7841, 4.0019, 22.6534)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F85 #85741E
analogous
#1E6385 #1E2F85 #411E85
triadic
#1E2F85 #851E2F #2F851E
tetradic
#1E2F85 #851E63 #85741E #1E8541
square
#1E2F85 #851E63 #85741E #1E8541
split-complementary
#1E2F85 #85411E #63851E
monochromatic
#070C21 #131D53 #1E2F85 #2941B7 #485FD6

Accessibility & contrast

On white

11.66
#1E2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F85
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F85#FFFFFF#000000##FFFFFF
##1E2F851.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2f85;
/* rgb */ color: rgb(30, 47, 133);
/* oklch */ color: oklch(35.2% 0.145 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b67a9',
    500: '#1e2f85',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f85;
$custom-light: #6b67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f85",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 230.097,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35207,
    "c": 0.14486,
    "h": 268.8
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#1E2F85
secondary
#B8A547
accent
#CB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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