#1C286B#1C286B

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

Color values

HEX#1C286B
RGBrgb(28, 40, 107)
HSLhsl(231, 59%, 26%)
HSVhsv(231, 74%, 42%)
CMYKcmyk(73.8%, 62.6%, 0%, 58%)
CIE-LABlab(19.33, 20.03, -40.62)
CIE-LCHlch(19.33, 45.29, 296.24°)
OKLaboklab(31.24% 0.0007 -0.1171)
OKLCHoklch(31.24% 0.117 270.4)
XYZxyz(3.8906, 2.8256, 14.2474)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C286B #6B5F1C
analogous
#1C506B #1C286B #381C6B
triadic
#1C286B #6B1C28 #286B1C
tetradic
#1C286B #6B1C50 #6B5F1C #1C6B38
square
#1C286B #6B1C50 #6B5F1C #1C6B38
split-complementary
#1C286B #6B381C #506B1C
monochromatic
#060918 #0F163A #1C286B #293A9C #374DCB

Accessibility & contrast

On white

13.42
#1C286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C286B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C286B#FFFFFF#000000##FFFFFF
##1C286B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c286b;
/* rgb */ color: rgb(28, 40, 107);
/* oklch */ color: oklch(31.2% 0.117 270.4);
Tailwind
colors: {
  custom: {
    50: '#646196',
    500: '#1c286b',
    950: '#000000',
  },
}
SCSS
$custom: #1c286b;
$custom-light: #646196;
$custom-dark: #000000;
JSON
{
  "hex": "#1c286b",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 230.886,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31236,
    "c": 0.11714,
    "h": 270.4
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#1C286B
secondary
#A09243
accent
#CA46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1C286B

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

Preview Lab → · Contrast checker → · Palette generator →

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