#1C285C#1C285C

#1C285C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.094 H 270.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1C285C
RGBrgb(28, 40, 92)
HSLhsl(229, 53%, 24%)
HSVhsv(229, 70%, 36%)
CMYKcmyk(69.6%, 56.5%, 0%, 63.9%)
CIE-LABlab(18.08, 14.01, -32.79)
CIE-LCHlch(18.08, 35.66, 293.13°)
OKLaboklab(29.91% 0.0001 -0.0941)
OKLCHoklch(29.91% 0.094 270)
XYZxyz(3.1688, 2.5369, 10.4458)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C285C #5C501C
analogous
#1C485C #1C285C #301C5C
triadic
#1C285C #5C1C28 #285C1C
tetradic
#1C285C #5C1C48 #5C501C #1C5C30
square
#1C285C #5C1C48 #5C501C #1C5C30
split-complementary
#1C285C #5C301C #485C1C
monochromatic
#070A17 #0E142D #1C285C #2A3C8B #3951BA

Accessibility & contrast

On white

13.93
#1C285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C285C
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C285C#FFFFFF#000000##FFFFFF
##1C285C1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c285c;
/* rgb */ color: rgb(28, 40, 92);
/* oklch */ color: oklch(29.9% 0.094 270.0);
Tailwind
colors: {
  custom: {
    50: '#60618b',
    500: '#1c285c',
    950: '#000000',
  },
}
SCSS
$custom: #1c285c;
$custom-light: #60618b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c285c",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 228.75,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29909,
    "c": 0.09412,
    "h": 270
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#1C285C
secondary
#918342
accent
#C14BDD
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1C285C

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

Preview Lab → · Contrast checker → · Palette generator →

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