#1E2E7C#1E2E7C

#1E2E7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.133 H 269.1°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1E2E7C
RGBrgb(30, 46, 124)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 76%, 49%)
CMYKcmyk(75.8%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.60, 22.81, -46.19)
CIE-LCHlch(22.60, 51.52, 296.28°)
OKLaboklab(34.16% -0.002 -0.1334)
OKLCHoklch(34.16% 0.133 269.1)
XYZxyz(5.1493, 3.6847, 19.5047)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7C #7C6C1E
analogous
#1E5D7C #1E2E7C #3D1E7C
triadic
#1E2E7C #7C1E2E #2E7C1E
tetradic
#1E2E7C #7C1E5D #7C6C1E #1E7C3D
square
#1E2E7C #7C1E5D #7C6C1E #1E7C3D
split-complementary
#1E2E7C #7C3D1E #5D7C1E
monochromatic
#060919 #121C4B #1E2E7C #2A40AD #435BD1

Accessibility & contrast

On white

12.09
#1E2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E7C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7C#FFFFFF#000000##FFFFFF
##1E2E7C1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2e7c;
/* rgb */ color: rgb(30, 46, 124);
/* oklch */ color: oklch(34.2% 0.133 269.1);
Tailwind
colors: {
  custom: {
    50: '#6966a3',
    500: '#1e2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7c;
$custom-light: #6966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7c",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 229.787,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.13339,
    "h": 269.1
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#1E2E7C
secondary
#AF9E46
accent
#C944E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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