#1E2E6F#1E2E6F

#1E2E6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.114 H 268.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1E2E6F
RGBrgb(30, 46, 111)
HSLhsl(228, 57%, 28%)
HSVhsv(228, 73%, 44%)
CMYKcmyk(73%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.50, 17.65, -39.68)
CIE-LCHlch(21.50, 43.43, 293.98°)
OKLaboklab(32.99% -0.0023 -0.1143)
OKLCHoklch(32.99% 0.114 268.8)
XYZxyz(4.3807, 3.3773, 15.4569)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E6F #6F5F1E
analogous
#1E576F #1E2E6F #361E6F
triadic
#1E2E6F #6F1E2E #2E6F1E
tetradic
#1E2E6F #6F1E57 #6F5F1E #1E6F36
square
#1E2E6F #6F1E57 #6F5F1E #1E6F36
split-complementary
#1E2E6F #6F361E #576F1E
monochromatic
#070A18 #111A3F #1E2E6F #2B429F #3D59CB

Accessibility & contrast

On white

12.53
#1E2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E6F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E6F#FFFFFF#000000##FFFFFF
##1E2E6F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2e6f;
/* rgb */ color: rgb(30, 46, 111);
/* oklch */ color: oklch(33.0% 0.114 268.8);
Tailwind
colors: {
  custom: {
    50: '#656699',
    500: '#1e2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e6f;
$custom-light: #656699;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e6f",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 228.148,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.11428,
    "h": 268.8
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#1E2E6F
secondary
#A39146
accent
#C247E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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