#1C286F#1C286F

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

Color values

HEX#1C286F
RGBrgb(28, 40, 111)
HSLhsl(231, 60%, 27%)
HSVhsv(231, 75%, 44%)
CMYKcmyk(74.8%, 64%, 0%, 56.5%)
CIE-LABlab(19.69, 21.62, -42.63)
CIE-LCHlch(19.69, 47.80, 296.89°)
OKLaboklab(31.61% 0.0007 -0.123)
OKLCHoklch(31.61% 0.123 270.3)
XYZxyz(4.1059, 2.9117, 15.3815)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C286F #6F631C
analogous
#1C526F #1C286F #391C6F
triadic
#1C286F #6F1C28 #286F1C
tetradic
#1C286F #6F1C52 #6F631C #1C6F39
square
#1C286F #6F1C52 #6F631C #1C6F39
split-complementary
#1C286F #6F391C #526F1C
monochromatic
#060918 #10163E #1C286F #283AA0 #384ECD

Accessibility & contrast

On white

13.27
#1C286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C286F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C286F#FFFFFF#000000##FFFFFF
##1C286F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c286f;
/* rgb */ color: rgb(28, 40, 111);
/* oklch */ color: oklch(31.6% 0.123 270.3);
Tailwind
colors: {
  custom: {
    50: '#656199',
    500: '#1c286f',
    950: '#000000',
  },
}
SCSS
$custom: #1c286f;
$custom-light: #656199;
$custom-dark: #000000;
JSON
{
  "hex": "#1c286f",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 231.325,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.12305,
    "h": 270.3
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C286F

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

Preview Lab → · Contrast checker → · Palette generator →

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