#1C286D#1C286D

#1C286D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.120 H 270.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#1C286D
RGBrgb(28, 40, 109)
HSLhsl(231, 59%, 27%)
HSVhsv(231, 74%, 43%)
CMYKcmyk(74.3%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.51, 20.82, -41.63)
CIE-LCHlch(19.51, 46.55, 296.57°)
OKLaboklab(31.42% 0.0007 -0.1201)
OKLCHoklch(31.42% 0.12 270.3)
XYZxyz(3.9971, 2.8682, 14.8080)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C286D #6D611C
analogous
#1C516D #1C286D #391C6D
triadic
#1C286D #6D1C28 #286D1C
tetradic
#1C286D #6D1C51 #6D611C #1C6D39
square
#1C286D #6D1C51 #6D611C #1C6D39
split-complementary
#1C286D #6D391C #516D1C
monochromatic
#060918 #0F163C #1C286D #293A9E #384ECC

Accessibility & contrast

On white

13.34
#1C286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C286D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C286D#FFFFFF#000000##FFFFFF
##1C286D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c286d;
/* rgb */ color: rgb(28, 40, 109);
/* oklch */ color: oklch(31.4% 0.120 270.3);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1c286d',
    950: '#000000',
  },
}
SCSS
$custom: #1c286d;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1c286d",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 231.111,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.12011,
    "h": 270.3
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#1C286D
secondary
#A29443
accent
#CB45E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C286D

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

Preview Lab → · Contrast checker → · Palette generator →

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