#1E306B#1E306B

#1E306B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.105 H 267.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1E306B
RGBrgb(30, 48, 107)
HSLhsl(226, 56%, 27%)
HSVhsv(226, 72%, 42%)
CMYKcmyk(72%, 55.1%, 0%, 58%)
CIE-LABlab(21.77, 14.62, -36.66)
CIE-LCHlch(21.77, 39.47, 291.73°)
OKLaboklab(33.09% -0.0045 -0.1053)
OKLCHoklch(33.09% 0.105 267.5)
XYZxyz(4.2453, 3.4510, 14.3495)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E306B #6B591E
analogous
#1E576B #1E306B #331E6B
triadic
#1E306B #6B1E30 #306B1E
tetradic
#1E306B #6B1E57 #6B591E #1E6B33
square
#1E306B #6B1E57 #6B591E #1E6B33
split-complementary
#1E306B #6B331E #576B1E
monochromatic
#070B18 #111B3B #1E306B #2B459B #3B5CC8

Accessibility & contrast

On white

12.42
#1E306B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E306B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E306B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E306B#FFFFFF#000000##FFFFFF
##1E306B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e306b;
/* rgb */ color: rgb(30, 48, 107);
/* oklch */ color: oklch(33.1% 0.105 267.5);
Tailwind
colors: {
  custom: {
    50: '#646796',
    500: '#1e306b',
    950: '#000000',
  },
}
SCSS
$custom: #1e306b;
$custom-light: #646796;
$custom-dark: #000000;
JSON
{
  "hex": "#1e306b",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 225.974,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.10544,
    "h": 267.5
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#1E306B
secondary
#9F8A45
accent
#BC48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E306B

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

Preview Lab → · Contrast checker → · Palette generator →

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