#1C2E8F#1C2E8F

#1C2E8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.160 H 268.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1C2E8F
RGBrgb(28, 46, 143)
HSLhsl(231, 67%, 34%)
HSVhsv(231, 80%, 56%)
CMYKcmyk(80.4%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.27, 29.97, -55.36)
CIE-LCHlch(24.27, 62.96, 298.43°)
OKLaboklab(35.9% -0.0047 -0.1603)
OKLCHoklch(35.9% 0.16 268.3)
XYZxyz(6.4121, 4.1833, 26.4508)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E8F #8F7D1C
analogous
#1C678F #1C2E8F #431C8F
triadic
#1C2E8F #8F1C2E #2E8F1C
tetradic
#1C2E8F #8F1C67 #8F7D1C #1C8F43
square
#1C2E8F #8F1C67 #8F7D1C #1C8F43
split-complementary
#1C2E8F #8F431C #678F1C
monochromatic
#080D29 #121E5C #1C2E8F #263EC2 #4A61DC

Accessibility & contrast

On white

11.43
#1C2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1C2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E8F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E8F#FFFFFF#000000##FFFFFF
##1C2E8F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c2e8f;
/* rgb */ color: rgb(28, 46, 143);
/* oklch */ color: oklch(35.9% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1c2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e8f",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 230.609,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35904,
    "c": 0.16035,
    "h": 268.3
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#1C2E8F
secondary
#BEAB49
accent
#CF3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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