#1E2F6E#1E2F6E

#1E2F6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.111 H 268.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2F6E
RGBrgb(30, 47, 110)
HSLhsl(227, 57%, 27%)
HSVhsv(227, 73%, 43%)
CMYKcmyk(72.7%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.71, 16.53, -38.70)
CIE-LCHlch(21.71, 42.08, 293.14°)
OKLaboklab(33.12% -0.0033 -0.1113)
OKLCHoklch(33.12% 0.111 268.3)
XYZxyz(4.3654, 3.4344, 15.1817)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F6E #6E5D1E
analogous
#1E576E #1E2F6E #351E6E
triadic
#1E2F6E #6E1E2F #2F6E1E
tetradic
#1E2F6E #6E1E57 #6E5D1E #1E6E35
square
#1E2F6E #6E1E57 #6E5D1E #1E6E35
split-complementary
#1E2F6E #6E351E #576E1E
monochromatic
#070A18 #111A3E #1E2F6E #2B449E #3C5BCA

Accessibility & contrast

On white

12.45
#1E2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F6E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F6E#FFFFFF#000000##FFFFFF
##1E2F6E1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2f6e;
/* rgb */ color: rgb(30, 47, 110);
/* oklch */ color: oklch(33.1% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#656798',
    500: '#1e2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f6e;
$custom-light: #656798;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f6e",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 227.25,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.1114,
    "h": 268.3
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#1E2F6E
secondary
#A28F46
accent
#C047E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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