#1E2F7D#1E2F7D

#1E2F7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.134 H 268.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1E2F7D
RGBrgb(30, 47, 125)
HSLhsl(229, 61%, 30%)
HSVhsv(229, 76%, 49%)
CMYKcmyk(76%, 62.4%, 0%, 51%)
CIE-LABlab(22.96, 22.51, -46.23)
CIE-LCHlch(22.96, 51.42, 295.96°)
OKLaboklab(34.46% -0.0028 -0.1335)
OKLCHoklch(34.46% 0.134 268.8)
XYZxyz(5.2523, 3.7892, 19.8526)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F7D #7D6C1E
analogous
#1E5E7D #1E2F7D #3C1E7D
triadic
#1E2F7D #7D1E2F #2F7D1E
tetradic
#1E2F7D #7D1E5E #7D6C1E #1E7D3C
square
#1E2F7D #7D1E5E #7D6C1E #1E7D3C
split-complementary
#1E2F7D #7D3C1E #5E7D1E
monochromatic
#060A1A #121C4C #1E2F7D #2A42AE #435DD2

Accessibility & contrast

On white

11.95
#1E2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F7D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F7D#FFFFFF#000000##FFFFFF
##1E2F7D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2f7d;
/* rgb */ color: rgb(30, 47, 125);
/* oklch */ color: oklch(34.5% 0.134 268.8);
Tailwind
colors: {
  custom: {
    50: '#6967a3',
    500: '#1e2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f7d;
$custom-light: #6967a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f7d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 229.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34455,
    "c": 0.13352,
    "h": 268.8
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#1E2F7D
secondary
#B09D46
accent
#C843E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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