#1E30B3#1E30B3

#1E30B3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.204 H 268.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1E30B3
RGBrgb(30, 48, 179)
HSLhsl(233, 71%, 41%)
HSVhsv(233, 83%, 70%)
CMYKcmyk(83.2%, 73.2%, 0%, 29.8%)
CIE-LABlab(28.49, 42.08, -70.27)
CIE-LCHlch(28.49, 81.90, 300.92°)
OKLaboklab(40.09% -0.0071 -0.2037)
OKLCHoklch(40.09% 0.204 268)
XYZxyz(9.7262, 5.6434, 43.2158)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E30B3 #B3A11E
analogous
#1E7AB3 #1E30B3 #561EB3
triadic
#1E30B3 #B31E30 #30B31E
tetradic
#1E30B3 #B31E7A #B3A11E #1EB356
square
#1E30B3 #B31E7A #B3A11E #1EB356
split-complementary
#1E30B3 #B3561E #7AB31E
monochromatic
#0C144A #15227F #1E30B3 #3246DD #6675E5

Accessibility & contrast

On white

9.86
#1E30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E30B3
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E30B3#FFFFFF#000000##FFFFFF
##1E30B31.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e30b3;
/* rgb */ color: rgb(30, 48, 179);
/* oklch */ color: oklch(40.1% 0.204 268.0);
Tailwind
colors: {
  custom: {
    50: '#7769cb',
    500: '#1e30b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e30b3;
$custom-light: #7769cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e30b3",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 232.752,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.20379,
    "h": 268
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#1E30B3
secondary
#CBBE62
accent
#D83AEE
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #1E30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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