#1E264B#1E264B

#1E264B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.069 H 272.1°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1E264B
RGBrgb(30, 38, 75)
HSLhsl(229, 43%, 21%)
HSVhsv(229, 60%, 29%)
CMYKcmyk(60%, 49.3%, 0%, 70.6%)
CIE-LABlab(16.36, 9.20, -24.11)
CIE-LCHlch(16.36, 25.81, 290.87°)
OKLaboklab(28.23% 0.0026 -0.0686)
OKLCHoklch(28.23% 0.069 272.1)
XYZxyz(2.4981, 2.1701, 6.9425)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E264B #4B431E
analogous
#1E3C4B #1E264B #2C1E4B
triadic
#1E264B #4B1E26 #264B1E
tetradic
#1E264B #4B1E3C #4B431E #1E4B2C
square
#1E264B #4B1E3C #4B431E #1E4B2C
split-complementary
#1E264B #4B2C1E #3C4B1E
monochromatic
#090B16 #0D101F #1E264B #2F3C77 #4152A2

Accessibility & contrast

On white

14.64
#1E264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E264B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E264B#FFFFFF#000000##FFFFFF
##1E264B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4C
Deuteranopia (green-blind)
#11274A
Tritanopia (blue-blind)
#072E34
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e264b;
/* rgb */ color: rgb(30, 38, 75);
/* oklch */ color: oklch(28.2% 0.069 272.1);
Tailwind
colors: {
  custom: {
    50: '#5e607d',
    500: '#1e264b',
    950: '#000000',
  },
}
SCSS
$custom: #1e264b;
$custom-light: #5e607d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e264b",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 229.333,
    "s": 42.857,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28233,
    "c": 0.06864,
    "h": 272.1
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#1E264B
secondary
#807545
accent
#BC55D3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1E264B

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

Preview Lab → · Contrast checker → · Palette generator →

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