#1E255F#1E255F

#1E255F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.103 H 273.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#1E255F
RGBrgb(30, 37, 95)
HSLhsl(234, 52%, 25%)
HSVhsv(234, 68%, 37%)
CMYKcmyk(68.4%, 61.1%, 0%, 62.7%)
CIE-LABlab(17.58, 17.76, -35.60)
CIE-LCHlch(17.58, 39.78, 296.51°)
OKLaboklab(29.64% 0.0058 -0.1024)
OKLCHoklch(29.64% 0.103 273.2)
XYZxyz(3.2619, 2.4251, 11.1204)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E255F #5F581E
analogous
#1E465F #1E255F #371E5F
triadic
#1E255F #5F1E25 #255F1E
tetradic
#1E255F #5F1E46 #5F581E #1E5F37
square
#1E255F #5F1E46 #5F581E #1E5F37
split-complementary
#1E255F #5F371E #465F1E
monochromatic
#070917 #0F1330 #1E255F #2D378E #3B49BC

Accessibility & contrast

On white

14.14
#1E255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E255F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E255F#FFFFFF#000000##FFFFFF
##1E255F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e255f;
/* rgb */ color: rgb(30, 37, 95);
/* oklch */ color: oklch(29.6% 0.103 273.2);
Tailwind
colors: {
  custom: {
    50: '#625f8d',
    500: '#1e255f',
    950: '#000000',
  },
}
SCSS
$custom: #1e255f;
$custom-light: #625f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e255f",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 233.538,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.10252,
    "h": 273.2
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#1E255F
secondary
#948B45
accent
#CC4CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E255F

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

Preview Lab → · Contrast checker → · Palette generator →

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