#1C286C#1C286C

#1C286C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.119 H 270.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#1C286C
RGBrgb(28, 40, 108)
HSLhsl(231, 59%, 27%)
HSVhsv(231, 74%, 42%)
CMYKcmyk(74.1%, 63%, 0%, 57.6%)
CIE-LABlab(19.42, 20.42, -41.13)
CIE-LCHlch(19.42, 45.92, 296.41°)
OKLaboklab(31.33% 0.0007 -0.1186)
OKLCHoklch(31.33% 0.119 270.4)
XYZxyz(3.9435, 2.8468, 14.5261)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C286C #6C601C
analogous
#1C506C #1C286C #381C6C
triadic
#1C286C #6C1C28 #286C1C
tetradic
#1C286C #6C1C50 #6C601C #1C6C38
square
#1C286C #6C1C50 #6C601C #1C6C38
split-complementary
#1C286C #6C381C #506C1C
monochromatic
#060918 #0F163B #1C286C #293A9D #374DCB

Accessibility & contrast

On white

13.38
#1C286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C286C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C286C#FFFFFF#000000##FFFFFF
##1C286C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c286c;
/* rgb */ color: rgb(28, 40, 108);
/* oklch */ color: oklch(31.3% 0.119 270.4);
Tailwind
colors: {
  custom: {
    50: '#646197',
    500: '#1c286c',
    950: '#000000',
  },
}
SCSS
$custom: #1c286c;
$custom-light: #646197;
$custom-dark: #000000;
JSON
{
  "hex": "#1c286c",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 231,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.11863,
    "h": 270.4
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#1C286C
secondary
#A19343
accent
#CB46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1C286C

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

Preview Lab → · Contrast checker → · Palette generator →

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