#1E2F6B#1E2F6B

#1E2F6B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.107 H 268.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#1E2F6B
RGBrgb(30, 47, 107)
HSLhsl(227, 56%, 27%)
HSVhsv(227, 72%, 42%)
CMYKcmyk(72%, 56.1%, 0%, 58%)
CIE-LABlab(21.47, 15.33, -37.14)
CIE-LCHlch(21.47, 40.18, 292.43°)
OKLaboklab(32.87% -0.0035 -0.1068)
OKLCHoklch(32.87% 0.107 268.1)
XYZxyz(4.2049, 3.3702, 14.3360)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F6B #6B5A1E
analogous
#1E566B #1E2F6B #341E6B
triadic
#1E2F6B #6B1E2F #2F6B1E
tetradic
#1E2F6B #6B1E56 #6B5A1E #1E6B34
square
#1E2F6B #6B1E56 #6B5A1E #1E6B34
split-complementary
#1E2F6B #6B341E #566B1E
monochromatic
#070A18 #111A3B #1E2F6B #2B449B #3B5AC8

Accessibility & contrast

On white

12.54
#1E2F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F6B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F6B#FFFFFF#000000##FFFFFF
##1E2F6B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2f6b;
/* rgb */ color: rgb(30, 47, 107);
/* oklch */ color: oklch(32.9% 0.107 268.1);
Tailwind
colors: {
  custom: {
    50: '#646796',
    500: '#1e2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f6b;
$custom-light: #646796;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f6b",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 226.753,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.10683,
    "h": 268.1
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#1E2F6B
secondary
#9F8C45
accent
#BE48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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