#1E256F#1E256F

#1E256F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.126 H 272.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1E256F
RGBrgb(30, 37, 111)
HSLhsl(235, 57%, 28%)
HSVhsv(235, 73%, 44%)
CMYKcmyk(73%, 66.7%, 0%, 56.5%)
CIE-LABlab(19.00, 24.00, -43.75)
CIE-LCHlch(19.00, 49.90, 298.75°)
OKLaboklab(31.14% 0.0054 -0.1263)
OKLCHoklch(31.14% 0.126 272.4)
XYZxyz(4.0653, 2.7465, 15.3517)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E256F #6F681E
analogous
#1E4D6F #1E256F #401E6F
triadic
#1E256F #6F1E25 #256F1E
tetradic
#1E256F #6F1E4D #6F681E #1E6F40
square
#1E256F #6F1E4D #6F681E #1E6F40
split-complementary
#1E256F #6F401E #4D6F1E
monochromatic
#070818 #11153F #1E256F #2B359F #3D49CB

Accessibility & contrast

On white

13.55
#1E256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E256F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E256F#FFFFFF#000000##FFFFFF
##1E256F1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e256f;
/* rgb */ color: rgb(30, 37, 111);
/* oklch */ color: oklch(31.1% 0.126 272.4);
Tailwind
colors: {
  custom: {
    50: '#665f99',
    500: '#1e256f',
    950: '#000000',
  },
}
SCSS
$custom: #1e256f;
$custom-light: #665f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e256f",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 234.815,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31136,
    "c": 0.12643,
    "h": 272.4
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#1E256F
secondary
#A39B46
accent
#D347E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E256F

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

Preview Lab → · Contrast checker → · Palette generator →

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