#1E2C7C#1E2C7C

#1E2C7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.136 H 269.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1E2C7C
RGBrgb(30, 44, 124)
HSLhsl(231, 61%, 30%)
HSVhsv(231, 76%, 49%)
CMYKcmyk(75.8%, 64.5%, 0%, 51.4%)
CIE-LABlab(22.06, 24.20, -47.07)
CIE-LCHlch(22.06, 52.93, 297.21°)
OKLaboklab(33.76% -0.0005 -0.136)
OKLCHoklch(33.76% 0.136 269.8)
XYZxyz(5.0729, 3.5321, 19.4793)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C7C #7C6E1E
analogous
#1E5B7C #1E2C7C #3F1E7C
triadic
#1E2C7C #7C1E2C #2C7C1E
tetradic
#1E2C7C #7C1E5B #7C6E1E #1E7C3F
square
#1E2C7C #7C1E5B #7C6E1E #1E7C3F
split-complementary
#1E2C7C #7C3F1E #5B7C1E
monochromatic
#060919 #121B4B #1E2C7C #2A3DAD #4358D1

Accessibility & contrast

On white

12.31
#1E2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C7C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C7C#FFFFFF#000000##FFFFFF
##1E2C7C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2c7c;
/* rgb */ color: rgb(30, 44, 124);
/* oklch */ color: oklch(33.8% 0.136 269.8);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1e2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c7c;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c7c",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 231.064,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3376,
    "c": 0.13599,
    "h": 269.8
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#1E2C7C
secondary
#AFA046
accent
#CC44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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