#1E2F7B#1E2F7B

#1E2F7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.131 H 268.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1E2F7B
RGBrgb(30, 47, 123)
HSLhsl(229, 61%, 30%)
HSVhsv(229, 76%, 48%)
CMYKcmyk(75.6%, 61.8%, 0%, 51.8%)
CIE-LABlab(22.79, 21.72, -45.25)
CIE-LCHlch(22.79, 50.19, 295.64°)
OKLaboklab(34.27% -0.0028 -0.1306)
OKLCHoklch(34.27% 0.131 268.8)
XYZxyz(5.1259, 3.7386, 19.1865)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F7B #7B6A1E
analogous
#1E5E7B #1E2F7B #3B1E7B
triadic
#1E2F7B #7B1E2F #2F7B1E
tetradic
#1E2F7B #7B1E5E #7B6A1E #1E7B3B
square
#1E2F7B #7B1E5E #7B6A1E #1E7B3B
split-complementary
#1E2F7B #7B3B1E #5E7B1E
monochromatic
#060919 #121C4A #1E2F7B #2A42AC #425CD1

Accessibility & contrast

On white

12.02
#1E2F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F7B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F7B#FFFFFF#000000##FFFFFF
##1E2F7B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2f7b;
/* rgb */ color: rgb(30, 47, 123);
/* oklch */ color: oklch(34.3% 0.131 268.8);
Tailwind
colors: {
  custom: {
    50: '#6867a2',
    500: '#1e2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f7b;
$custom-light: #6867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f7b",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 229.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.13063,
    "h": 268.8
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#1E2F7B
secondary
#AE9B46
accent
#C744E4
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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