#1E2F6F#1E2F6F

#1E2F6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.113 H 268.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1E2F6F
RGBrgb(30, 47, 111)
HSLhsl(227, 57%, 28%)
HSVhsv(227, 73%, 44%)
CMYKcmyk(73%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.79, 16.94, -39.21)
CIE-LCHlch(21.79, 42.71, 293.36°)
OKLaboklab(33.21% -0.0032 -0.1129)
OKLCHoklch(33.21% 0.113 268.4)
XYZxyz(4.4202, 3.4563, 15.4700)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F6F #6F5E1E
analogous
#1E586F #1E2F6F #351E6F
triadic
#1E2F6F #6F1E2F #2F6F1E
tetradic
#1E2F6F #6F1E58 #6F5E1E #1E6F35
square
#1E2F6F #6F1E58 #6F5E1E #1E6F35
split-complementary
#1E2F6F #6F351E #586F1E
monochromatic
#070A18 #111B3F #1E2F6F #2B439F #3D5BCB

Accessibility & contrast

On white

12.42
#1E2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F6F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F6F#FFFFFF#000000##FFFFFF
##1E2F6F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2f6f;
/* rgb */ color: rgb(30, 47, 111);
/* oklch */ color: oklch(33.2% 0.113 268.4);
Tailwind
colors: {
  custom: {
    50: '#656799',
    500: '#1e2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f6f;
$custom-light: #656799;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f6f",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 227.407,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33207,
    "c": 0.11291,
    "h": 268.4
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#1E2F6F
secondary
#A39046
accent
#C047E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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