#1C245F#1C245F

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

Color values

HEX#1C245F
RGBrgb(28, 36, 95)
HSLhsl(233, 54%, 24%)
HSVhsv(233, 71%, 37%)
CMYKcmyk(70.5%, 62.1%, 0%, 62.7%)
CIE-LABlab(17.15, 18.12, -36.29)
CIE-LCHlch(17.15, 40.56, 296.53°)
OKLaboklab(29.29% 0.0043 -0.1045)
OKLCHoklch(29.29% 0.105 272.4)
XYZxyz(3.1746, 2.3346, 11.1076)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C245F #5F571C
analogous
#1C465F #1C245F #361C5F
triadic
#1C245F #5F1C24 #245F1C
tetradic
#1C245F #5F1C46 #5F571C #1C5F36
square
#1C245F #5F1C46 #5F571C #1C5F36
split-complementary
#1C245F #5F361C #465F1C
monochromatic
#070918 #0E1230 #1C245F #2A368E #3848BE

Accessibility & contrast

On white

14.31
#1C245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C245F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C245F#FFFFFF#000000##FFFFFF
##1C245F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c245f;
/* rgb */ color: rgb(28, 36, 95);
/* oklch */ color: oklch(29.3% 0.105 272.4);
Tailwind
colors: {
  custom: {
    50: '#615e8d',
    500: '#1c245f',
    950: '#000000',
  },
}
SCSS
$custom: #1c245f;
$custom-light: #615e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c245f",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 232.836,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29289,
    "c": 0.10456,
    "h": 272.4
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#1C245F
secondary
#948B42
accent
#CC4ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C245F

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

Preview Lab → · Contrast checker → · Palette generator →

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