#1E2C75#1E2C75

#1E2C75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.126 H 269.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1E2C75
RGBrgb(30, 44, 117)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 74%, 46%)
CMYKcmyk(74.4%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.44, 21.45, -43.63)
CIE-LCHlch(21.44, 48.62, 296.18°)
OKLaboklab(33.1% -0.0004 -0.1259)
OKLCHoklch(33.1% 0.126 269.8)
XYZxyz(4.6459, 3.3613, 17.2301)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C75 #75671E
analogous
#1E5875 #1E2C75 #3C1E75
triadic
#1E2C75 #751E2C #2C751E
tetradic
#1E2C75 #751E58 #75671E #1E753C
square
#1E2C75 #751E58 #75671E #1E753C
split-complementary
#1E2C75 #753C1E #58751E
monochromatic
#060918 #121A44 #1E2C75 #2A3EA6 #4056CE

Accessibility & contrast

On white

12.56
#1E2C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C75
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C75#FFFFFF#000000##FFFFFF
##1E2C751.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2c75;
/* rgb */ color: rgb(30, 44, 117);
/* oklch */ color: oklch(33.1% 0.126 269.8);
Tailwind
colors: {
  custom: {
    50: '#67649d',
    500: '#1e2c75',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c75;
$custom-light: #67649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c75",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 230.345,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.12589,
    "h": 269.8
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#1E2C75
secondary
#A99946
accent
#C945E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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