#1C2E7F#1C2E7F

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

Color values

HEX#1C2E7F
RGBrgb(28, 46, 127)
HSLhsl(229, 64%, 30%)
HSVhsv(229, 78%, 50%)
CMYKcmyk(78%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.77, 23.75, -47.82)
CIE-LCHlch(22.77, 53.39, 296.41°)
OKLaboklab(34.34% -0.004 -0.1382)
OKLCHoklch(34.34% 0.138 268.3)
XYZxyz(5.2853, 3.7326, 20.5165)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E7F #7F6D1C
analogous
#1C5F7F #1C2E7F #3B1C7F
triadic
#1C2E7F #7F1C2E #2E7F1C
tetradic
#1C2E7F #7F1C5F #7F6D1C #1C7F3B
square
#1C2E7F #7F1C5F #7F6D1C #1C7F3B
split-complementary
#1C2E7F #7F3B1C #5F7F1C
monochromatic
#060A1B #111C4D #1C2E7F #2740B1 #405BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2E7F#FFFFFF#000000##FFFFFF
##1C2E7F1.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)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2e7f;
/* rgb */ color: rgb(28, 46, 127);
/* oklch */ color: oklch(34.3% 0.138 268.3);
Tailwind
colors: {
  custom: {
    50: '#6966a5',
    500: '#1c2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e7f;
$custom-light: #6966a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e7f",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 229.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.13826,
    "h": 268.3
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#1C2E7F
secondary
#B39F44
accent
#C941E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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