#1E2F66#1E2F66

#1E2F66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.099 H 267.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1E2F66
RGBrgb(30, 47, 102)
HSLhsl(226, 55%, 26%)
HSVhsv(226, 71%, 40%)
CMYKcmyk(70.6%, 53.9%, 0%, 60%)
CIE-LABlab(21.09, 13.32, -34.52)
CIE-LCHlch(21.09, 37.00, 291.11°)
OKLaboklab(32.46% -0.004 -0.099)
OKLCHoklch(32.46% 0.099 267.7)
XYZxyz(3.9494, 3.2680, 12.9904)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F66 #66551E
analogous
#1E5366 #1E2F66 #311E66
triadic
#1E2F66 #661E2F #2F661E
tetradic
#1E2F66 #661E53 #66551E #1E6631
square
#1E2F66 #661E53 #66551E #1E6631
split-complementary
#1E2F66 #66311E #53661E
monochromatic
#070B18 #101937 #1E2F66 #2C4595 #3A5BC5

Accessibility & contrast

On white

12.70
#1E2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F66
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F66#FFFFFF#000000##FFFFFF
##1E2F661.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2f66;
/* rgb */ color: rgb(30, 47, 102);
/* oklch */ color: oklch(32.5% 0.099 267.7);
Tailwind
colors: {
  custom: {
    50: '#636792',
    500: '#1e2f66',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f66;
$custom-light: #636792;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f66",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 225.833,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.09912,
    "h": 267.7
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#1E2F66
secondary
#9B8645
accent
#BB4ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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