#1C245E#1C245E

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

Color values

HEX#1C245E
RGBrgb(28, 36, 94)
HSLhsl(233, 54%, 24%)
HSVhsv(233, 70%, 37%)
CMYKcmyk(70.2%, 61.7%, 0%, 63.1%)
CIE-LABlab(17.07, 17.72, -35.77)
CIE-LCHlch(17.07, 39.92, 296.36°)
OKLaboklab(29.2% 0.0043 -0.1029)
OKLCHoklch(29.2% 0.103 272.4)
XYZxyz(3.1295, 2.3165, 10.8697)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C245E #5E561C
analogous
#1C455E #1C245E #351C5E
triadic
#1C245E #5E1C24 #245E1C
tetradic
#1C245E #5E1C45 #5E561C #1C5E35
square
#1C245E #5E1C45 #5E561C #1C5E35
split-complementary
#1C245E #5E351C #455E1C
monochromatic
#070918 #0E122F #1C245E #2A368D #3848BC

Accessibility & contrast

On white

14.35
#1C245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C245E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C245E#FFFFFF#000000##FFFFFF
##1C245E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c245e;
/* rgb */ color: rgb(28, 36, 94);
/* oklch */ color: oklch(29.2% 0.103 272.4);
Tailwind
colors: {
  custom: {
    50: '#615e8c',
    500: '#1c245e',
    950: '#000000',
  },
}
SCSS
$custom: #1c245e;
$custom-light: #615e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c245e",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 232.727,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.10302,
    "h": 272.4
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#1C245E
secondary
#938A42
accent
#CC4ADD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C245E

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

Preview Lab → · Contrast checker → · Palette generator →

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