#1E2F58#1E2F58

#1E2F58 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.077 H 265.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1E2F58
RGBrgb(30, 47, 88)
HSLhsl(222, 49%, 23%)
HSVhsv(222, 66%, 35%)
CMYKcmyk(65.9%, 46.6%, 0%, 65.5%)
CIE-LABlab(20.10, 7.74, -26.90)
CIE-LCHlch(20.10, 27.99, 286.05°)
OKLaboklab(31.38% -0.0063 -0.0766)
OKLCHoklch(31.38% 0.077 265.3)
XYZxyz(3.3128, 3.0133, 9.6377)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F58 #58471E
analogous
#1E4C58 #1E2F58 #2A1E58
triadic
#1E2F58 #581E2F #2F581E
tetradic
#1E2F58 #581E4C #58471E #1E582A
square
#1E2F58 #581E4C #58471E #1E582A
split-complementary
#1E2F58 #582A1E #4C581E
monochromatic
#080C17 #0E172A #1E2F58 #2E4786 #3D60B3

Accessibility & contrast

On white

13.10
#1E2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F58
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F58#FFFFFF#000000##FFFFFF
##1E2F581.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#142E57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2f58;
/* rgb */ color: rgb(30, 47, 88);
/* oklch */ color: oklch(31.4% 0.077 265.3);
Tailwind
colors: {
  custom: {
    50: '#606787',
    500: '#1e2f58',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f58;
$custom-light: #606787;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f58",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 222.414,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31383,
    "c": 0.07689,
    "h": 265.3
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#1E2F58
secondary
#8D7845
accent
#B04FD9
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1E2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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