#1C246C#1C246C

#1C246C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.124 H 271.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#1C246C
RGBrgb(28, 36, 108)
HSLhsl(234, 59%, 27%)
HSVhsv(234, 74%, 42%)
CMYKcmyk(74.1%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.33, 23.25, -42.91)
CIE-LCHlch(18.33, 48.81, 298.45°)
OKLaboklab(30.52% 0.004 -0.1239)
OKLCHoklch(30.52% 0.124 271.8)
XYZxyz(3.8156, 2.5910, 14.4835)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C246C #6C641C
analogous
#1C4C6C #1C246C #3C1C6C
triadic
#1C246C #6C1C24 #246C1C
tetradic
#1C246C #6C1C4C #6C641C #1C6C3C
square
#1C246C #6C1C4C #6C641C #1C6C3C
split-complementary
#1C246C #6C3C1C #4C6C1C
monochromatic
#060818 #0F143B #1C246C #29349D #3746CB

Accessibility & contrast

On white

13.83
#1C246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C246C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C246C#FFFFFF#000000##FFFFFF
##1C246C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c246c;
/* rgb */ color: rgb(28, 36, 108);
/* oklch */ color: oklch(30.5% 0.124 271.8);
Tailwind
colors: {
  custom: {
    50: '#655e97',
    500: '#1c246c',
    950: '#000000',
  },
}
SCSS
$custom: #1c246c;
$custom-light: #655e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1c246c",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 234,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.12397,
    "h": 271.8
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#1C246C
secondary
#A19743
accent
#D246E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C246C

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

Preview Lab → · Contrast checker → · Palette generator →

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