#1C286E#1C286E

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

Color values

HEX#1C286E
RGBrgb(28, 40, 110)
HSLhsl(231, 59%, 27%)
HSVhsv(231, 75%, 43%)
CMYKcmyk(74.5%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.60, 21.22, -42.13)
CIE-LCHlch(19.60, 47.18, 296.73°)
OKLaboklab(31.52% 0.0007 -0.1216)
OKLCHoklch(31.52% 0.122 270.3)
XYZxyz(4.0512, 2.8898, 15.0931)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C286E #6E621C
analogous
#1C516E #1C286E #391C6E
triadic
#1C286E #6E1C28 #286E1C
tetradic
#1C286E #6E1C51 #6E621C #1C6E39
square
#1C286E #6E1C51 #6E621C #1C6E39
split-complementary
#1C286E #6E391C #516E1C
monochromatic
#060918 #10163D #1C286E #283A9F #384ECC

Accessibility & contrast

On white

13.31
#1C286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C286E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C286E#FFFFFF#000000##FFFFFF
##1C286E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c286e;
/* rgb */ color: rgb(28, 40, 110);
/* oklch */ color: oklch(31.5% 0.122 270.3);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1c286e',
    950: '#000000',
  },
}
SCSS
$custom: #1c286e;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1c286e",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 231.22,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.12158,
    "h": 270.3
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#1C286E
secondary
#A39543
accent
#CC45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C286E

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

Preview Lab → · Contrast checker → · Palette generator →

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