#1E2F6D#1E2F6D

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

Color values

HEX#1E2F6D
RGBrgb(30, 47, 109)
HSLhsl(227, 57%, 27%)
HSVhsv(227, 72%, 43%)
CMYKcmyk(72.5%, 56.9%, 0%, 57.3%)
CIE-LABlab(21.63, 16.13, -38.18)
CIE-LCHlch(21.63, 41.45, 292.91°)
OKLaboklab(33.04% -0.0034 -0.1098)
OKLCHoklch(33.04% 0.11 268.2)
XYZxyz(4.3113, 3.4128, 14.8966)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F6D #6D5C1E
analogous
#1E566D #1E2F6D #351E6D
triadic
#1E2F6D #6D1E2F #2F6D1E
tetradic
#1E2F6D #6D1E56 #6D5C1E #1E6D35
square
#1E2F6D #6D1E56 #6D5C1E #1E6D35
split-complementary
#1E2F6D #6D351E #566D1E
monochromatic
#070A18 #111A3D #1E2F6D #2B449D #3C5AC9

Accessibility & contrast

On white

12.48
#1E2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F6D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F6D#FFFFFF#000000##FFFFFF
##1E2F6D1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2f6d;
/* rgb */ color: rgb(30, 47, 109);
/* oklch */ color: oklch(33.0% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#656797',
    500: '#1e2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f6d;
$custom-light: #656797;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f6d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 227.089,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.10988,
    "h": 268.2
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#1E2F6D
secondary
#A18E45
accent
#BF48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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