#1E2F8C#1E2F8C

#1E2F8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.155 H 268.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1E2F8C
RGBrgb(30, 47, 140)
HSLhsl(231, 65%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(78.6%, 66.4%, 0%, 45.1%)
CIE-LABlab(24.33, 28.35, -53.40)
CIE-LCHlch(24.33, 60.46, 297.96°)
OKLaboklab(35.89% -0.0032 -0.1545)
OKLCHoklch(35.89% 0.155 268.8)
XYZxyz(6.2839, 4.2018, 25.2857)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F8C #8C7B1E
analogous
#1E668C #1E2F8C #441E8C
triadic
#1E2F8C #8C1E2F #2F8C1E
tetradic
#1E2F8C #8C1E66 #8C7B1E #1E8C44
square
#1E2F8C #8C1E66 #8C7B1E #1E8C44
split-complementary
#1E2F8C #8C441E #668C1E
monochromatic
#080D27 #131E5A #1E2F8C #2940BE #4C62D9

Accessibility & contrast

On white

11.41
#1E2F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E2F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F8C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F8C#FFFFFF#000000##FFFFFF
##1E2F8C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2f8c;
/* rgb */ color: rgb(30, 47, 140);
/* oklch */ color: oklch(35.9% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d67af',
    500: '#1e2f8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f8c;
$custom-light: #6d67af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f8c",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 230.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.15453,
    "h": 268.8
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#1E2F8C
secondary
#BBAA4B
accent
#CE40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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