#1E2E7F#1E2E7F

#1E2E7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.138 H 269.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2E7F
RGBrgb(30, 46, 127)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 76%, 50%)
CMYKcmyk(76.4%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.87, 23.99, -47.65)
CIE-LCHlch(22.87, 53.35, 296.72°)
OKLaboklab(34.44% -0.0021 -0.1377)
OKLCHoklch(34.44% 0.138 269.1)
XYZxyz(5.3419, 3.7617, 20.5191)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7F #7F6F1E
analogous
#1E5E7F #1E2E7F #3E1E7F
triadic
#1E2E7F #7F1E2E #2E7F1E
tetradic
#1E2E7F #7F1E5E #7F6F1E #1E7F3E
square
#1E2E7F #7F1E5E #7F6F1E #1E7F3E
split-complementary
#1E2E7F #7F3E1E #5E7F1E
monochromatic
#070A1C #121C4D #1E2E7F #2A40B1 #445CD3

Accessibility & contrast

On white

11.98
#1E2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E7F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7F#FFFFFF#000000##FFFFFF
##1E2E7F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2e7f;
/* rgb */ color: rgb(30, 46, 127);
/* oklch */ color: oklch(34.4% 0.138 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a66a5',
    500: '#1e2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7f;
$custom-light: #6a66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7f",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 230.103,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.13768,
    "h": 269.1
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#1E2E7F
secondary
#B2A047
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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