#1E2675#1E2675

#1E2675 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.134 H 271.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2675
RGBrgb(30, 38, 117)
HSLhsl(234, 59%, 29%)
HSVhsv(234, 74%, 46%)
CMYKcmyk(74.4%, 67.5%, 0%, 54.1%)
CIE-LABlab(19.83, 25.62, -46.26)
CIE-LCHlch(19.83, 52.88, 298.98°)
OKLaboklab(31.92% 0.0042 -0.1337)
OKLCHoklch(31.92% 0.134 271.8)
XYZxyz(4.4383, 2.9462, 17.1609)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2675 #756D1E
analogous
#1E5275 #1E2675 #421E75
triadic
#1E2675 #751E26 #26751E
tetradic
#1E2675 #751E52 #756D1E #1E7542
square
#1E2675 #751E52 #756D1E #1E7542
split-complementary
#1E2675 #75421E #52751E
monochromatic
#060818 #121644 #1E2675 #2A36A6 #404DCE

Accessibility & contrast

On white

13.21
#1E2675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2675
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2675#FFFFFF#000000##FFFFFF
##1E26751.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2675;
/* rgb */ color: rgb(30, 38, 117);
/* oklch */ color: oklch(31.9% 0.134 271.8);
Tailwind
colors: {
  custom: {
    50: '#68609e',
    500: '#1e2675',
    950: '#000000',
  },
}
SCSS
$custom: #1e2675;
$custom-light: #68609e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2675",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 234.483,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.13373,
    "h": 271.8
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#1E2675
secondary
#A9A046
accent
#D445E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2675

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

Preview Lab → · Contrast checker → · Palette generator →

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