#1C285E#1C285E

#1C285E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.097 H 270.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1C285E
RGBrgb(28, 40, 94)
HSLhsl(229, 54%, 24%)
HSVhsv(229, 70%, 37%)
CMYKcmyk(70.2%, 57.4%, 0%, 63.1%)
CIE-LABlab(18.24, 14.81, -33.86)
CIE-LCHlch(18.24, 36.96, 293.63°)
OKLaboklab(30.08% 0.0002 -0.0973)
OKLCHoklch(30.08% 0.097 270.1)
XYZxyz(3.2574, 2.5723, 10.9123)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C285E #5E521C
analogous
#1C495E #1C285E #311C5E
triadic
#1C285E #5E1C28 #285E1C
tetradic
#1C285E #5E1C49 #5E521C #1C5E31
square
#1C285E #5E1C49 #5E521C #1C5E31
split-complementary
#1C285E #5E311C #495E1C
monochromatic
#070A18 #0E142F #1C285E #2A3C8D #3850BC

Accessibility & contrast

On white

13.87
#1C285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C285E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C285E#FFFFFF#000000##FFFFFF
##1C285E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c285e;
/* rgb */ color: rgb(28, 40, 94);
/* oklch */ color: oklch(30.1% 0.097 270.1);
Tailwind
colors: {
  custom: {
    50: '#61618c',
    500: '#1c285e',
    950: '#000000',
  },
}
SCSS
$custom: #1c285e;
$custom-light: #61618c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c285e",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 229.091,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30078,
    "c": 0.09727,
    "h": 270.1
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#1C285E
secondary
#938542
accent
#C34ADD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1C285E

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

Preview Lab → · Contrast checker → · Palette generator →

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