#1E2E61#1E2E61

#1E2E61 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.093 H 267.8°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1E2E61
RGBrgb(30, 46, 97)
HSLhsl(226, 53%, 25%)
HSVhsv(226, 69%, 38%)
CMYKcmyk(69.1%, 52.6%, 0%, 62%)
CIE-LABlab(20.41, 12.04, -32.33)
CIE-LCHlch(20.41, 34.50, 290.42°)
OKLaboklab(31.83% -0.0036 -0.0926)
OKLCHoklch(31.83% 0.093 267.8)
XYZxyz(3.6693, 3.0927, 11.7105)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E61 #61511E
analogous
#1E4F61 #1E2E61 #301E61
triadic
#1E2E61 #611E2E #2E611E
tetradic
#1E2E61 #611E4F #61511E #1E6130
square
#1E2E61 #611E4F #61511E #1E6130
split-complementary
#1E2E61 #61301E #4F611E
monochromatic
#070B17 #101832 #1E2E61 #2C4490 #3B5ABE

Accessibility & contrast

On white

12.97
#1E2E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E61
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E61#FFFFFF#000000##FFFFFF
##1E2E611.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123463
Deuteranopia (green-blind)
#032E60
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2e61;
/* rgb */ color: rgb(30, 46, 97);
/* oklch */ color: oklch(31.8% 0.093 267.8);
Tailwind
colors: {
  custom: {
    50: '#62668e',
    500: '#1e2e61',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e61;
$custom-light: #62668e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e61",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 225.672,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.0927,
    "h": 267.8
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#1E2E61
secondary
#968345
accent
#BA4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1E2E61

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

Preview Lab → · Contrast checker → · Palette generator →

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