#1E257C#1E257C

#1E257C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.145 H 271.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1E257C
RGBrgb(30, 37, 124)
HSLhsl(236, 61%, 30%)
HSVhsv(236, 76%, 49%)
CMYKcmyk(75.8%, 70.2%, 0%, 51.4%)
CIE-LABlab(20.26, 28.96, -50.03)
CIE-LCHlch(20.26, 57.80, 300.07°)
OKLaboklab(32.44% 0.0043 -0.1447)
OKLCHoklch(32.44% 0.145 271.7)
XYZxyz(4.8338, 3.0539, 19.3996)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E257C #7C751E
analogous
#1E547C #1E257C #461E7C
triadic
#1E257C #7C1E25 #257C1E
tetradic
#1E257C #7C1E54 #7C751E #1E7C46
square
#1E257C #7C1E54 #7C751E #1E7C46
split-complementary
#1E257C #7C461E #547C1E
monochromatic
#060819 #12164B #1E257C #2A34AD #434ED1

Accessibility & contrast

On white

13.04
#1E257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E257C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E257C#FFFFFF#000000##FFFFFF
##1E257C1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e257c;
/* rgb */ color: rgb(30, 37, 124);
/* oklch */ color: oklch(32.4% 0.145 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a60a3',
    500: '#1e257c',
    950: '#000000',
  },
}
SCSS
$custom: #1e257c;
$custom-light: #6a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e257c",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 235.532,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.14474,
    "h": 271.7
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#1E257C
secondary
#AFA846
accent
#D844E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E257C

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

Preview Lab → · Contrast checker → · Palette generator →

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