#1C245D#1C245D

#1C245D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.101 H 272.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1C245D
RGBrgb(28, 36, 93)
HSLhsl(233, 54%, 24%)
HSVhsv(233, 70%, 36%)
CMYKcmyk(69.9%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.98, 17.32, -35.24)
CIE-LCHlch(16.98, 39.27, 296.18°)
OKLaboklab(29.11% 0.0043 -0.1014)
OKLCHoklch(29.11% 0.101 272.4)
XYZxyz(3.0849, 2.2987, 10.6349)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C245D #5D551C
analogous
#1C445D #1C245D #341C5D
triadic
#1C245D #5D1C24 #245D1C
tetradic
#1C245D #5D1C44 #5D551C #1C5D34
square
#1C245D #5D1C44 #5D551C #1C5D34
split-complementary
#1C245D #5D341C #445D1C
monochromatic
#070918 #0E122E #1C245D #2A368C #3848BB

Accessibility & contrast

On white

14.39
#1C245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C245D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C245D#FFFFFF#000000##FFFFFF
##1C245D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c245d;
/* rgb */ color: rgb(28, 36, 93);
/* oklch */ color: oklch(29.1% 0.101 272.4);
Tailwind
colors: {
  custom: {
    50: '#615e8b',
    500: '#1c245d',
    950: '#000000',
  },
}
SCSS
$custom: #1c245d;
$custom-light: #615e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c245d",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 232.615,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29108,
    "c": 0.10147,
    "h": 272.4
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#1C245D
secondary
#928942
accent
#CB4BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C245D

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

Preview Lab → · Contrast checker → · Palette generator →

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