#1E2F7C#1E2F7C

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

Color values

HEX#1E2F7C
RGBrgb(30, 47, 124)
HSLhsl(229, 61%, 30%)
HSVhsv(229, 76%, 49%)
CMYKcmyk(75.8%, 62.1%, 0%, 51.4%)
CIE-LABlab(22.87, 22.11, -45.74)
CIE-LCHlch(22.87, 50.81, 295.80°)
OKLaboklab(34.36% -0.0028 -0.132)
OKLCHoklch(34.36% 0.132 268.8)
XYZxyz(5.1888, 3.7637, 19.5179)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F7C #7C6B1E
analogous
#1E5E7C #1E2F7C #3C1E7C
triadic
#1E2F7C #7C1E2F #2F7C1E
tetradic
#1E2F7C #7C1E5E #7C6B1E #1E7C3C
square
#1E2F7C #7C1E5E #7C6B1E #1E7C3C
split-complementary
#1E2F7C #7C3C1E #5E7C1E
monochromatic
#060A19 #121C4B #1E2F7C #2A42AD #435DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2F7C#FFFFFF#000000##FFFFFF
##1E2F7C1.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)
#003B7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2f7c;
/* rgb */ color: rgb(30, 47, 124);
/* oklch */ color: oklch(34.4% 0.132 268.8);
Tailwind
colors: {
  custom: {
    50: '#6967a3',
    500: '#1e2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f7c;
$custom-light: #6967a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f7c",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 229.149,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34363,
    "c": 0.13208,
    "h": 268.8
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#1E2F7C
secondary
#AF9C46
accent
#C744E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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