#1E2F61#1E2F61

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

Color values

HEX#1E2F61
RGBrgb(30, 47, 97)
HSLhsl(225, 53%, 25%)
HSVhsv(225, 69%, 38%)
CMYKcmyk(69.1%, 51.5%, 0%, 62%)
CIE-LABlab(20.72, 11.32, -31.84)
CIE-LCHlch(20.72, 33.79, 289.57°)
OKLaboklab(32.06% -0.0047 -0.0912)
OKLCHoklch(32.06% 0.091 267)
XYZxyz(3.7089, 3.1718, 11.7237)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F61 #61501E
analogous
#1E5161 #1E2F61 #2E1E61
triadic
#1E2F61 #611E2F #2F611E
tetradic
#1E2F61 #611E51 #61501E #1E612E
square
#1E2F61 #611E51 #61501E #1E612E
split-complementary
#1E2F61 #612E1E #51611E
monochromatic
#070B17 #101832 #1E2F61 #2C4690 #3B5CBE

Accessibility & contrast

On white

12.85
#1E2F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F61
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F61#FFFFFF#000000##FFFFFF
##1E2F611.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#072F60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2f61;
/* rgb */ color: rgb(30, 47, 97);
/* oklch */ color: oklch(32.1% 0.091 267.0);
Tailwind
colors: {
  custom: {
    50: '#62678e',
    500: '#1e2f61',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f61;
$custom-light: #62678e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f61",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 224.776,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.09128,
    "h": 267
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#1E2F61
secondary
#968145
accent
#B74CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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