#1E264F#1E264F

#1E264F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.075 H 272.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#1E264F
RGBrgb(30, 38, 79)
HSLhsl(230, 45%, 21%)
HSVhsv(230, 62%, 31%)
CMYKcmyk(62%, 51.9%, 0%, 69%)
CIE-LABlab(16.63, 10.75, -26.39)
CIE-LCHlch(16.63, 28.50, 292.16°)
OKLaboklab(28.54% 0.0033 -0.0753)
OKLCHoklch(28.54% 0.075 272.5)
XYZxyz(2.6394, 2.2266, 7.6863)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E264F #4F471E
analogous
#1E3F4F #1E264F #2F1E4F
triadic
#1E264F #4F1E26 #264F1E
tetradic
#1E264F #4F1E3F #4F471E #1E4F2F
square
#1E264F #4F1E3F #4F471E #1E4F2F
split-complementary
#1E264F #4F2F1E #3F4F1E
monochromatic
#080B16 #0D1123 #1E264F #2F3B7B #4051A8

Accessibility & contrast

On white

14.53
#1E264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E264F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E264F#FFFFFF#000000##FFFFFF
##1E264F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B51
Deuteranopia (green-blind)
#0C274E
Tritanopia (blue-blind)
#032F36
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e264f;
/* rgb */ color: rgb(30, 38, 79);
/* oklch */ color: oklch(28.5% 0.075 272.5);
Tailwind
colors: {
  custom: {
    50: '#5f6080',
    500: '#1e264f',
    950: '#000000',
  },
}
SCSS
$custom: #1e264f;
$custom-light: #5f6080;
$custom-dark: #000000;
JSON
{
  "hex": "#1e264f",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 230.204,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28535,
    "c": 0.07534,
    "h": 272.5
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#1E264F
secondary
#847A45
accent
#C053D5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #1E264F

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

Preview Lab → · Contrast checker → · Palette generator →

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