#1C2E4E#1C2E4E

#1C2E4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.3% C 0.063 H 261.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1C2E4E
RGBrgb(28, 46, 78)
HSLhsl(218, 47%, 21%)
HSVhsv(218, 64%, 31%)
CMYKcmyk(64.1%, 41%, 0%, 69.4%)
CIE-LABlab(19.02, 4.05, -21.93)
CIE-LCHlch(19.02, 22.30, 280.46°)
OKLaboklab(30.31% -0.0096 -0.0621)
OKLCHoklch(30.31% 0.063 261.2)
XYZxyz(2.8306, 2.7507, 7.5880)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E4E #4E3C1C
analogous
#1C474E #1C2E4E #231C4E
triadic
#1C2E4E #4E1C2E #2E4E1C
tetradic
#1C2E4E #4E1C47 #4E3C1C #1C4E23
square
#1C2E4E #4E1C47 #4E3C1C #1C4E23
split-complementary
#1C2E4E #4E231C #474E1C
monochromatic
#080D17 #0C1321 #1C2E4E #2C497B #3C63A8

Accessibility & contrast

On white

13.55
#1C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E4E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E4E#FFFFFF#000000##FFFFFF
##1C2E4E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c2e4e;
/* rgb */ color: rgb(28, 46, 78);
/* oklch */ color: oklch(30.3% 0.063 261.2);
Tailwind
colors: {
  custom: {
    50: '#5d6680',
    500: '#1c2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e4e;
$custom-light: #5d6680;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e4e",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 218.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.06288,
    "h": 261.2
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#1C2E4E
secondary
#846C42
accent
#A751D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1C2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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