#1C256C#1C256C

#1C256C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.7% C 0.123 H 271.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#1C256C
RGBrgb(28, 37, 108)
HSLhsl(233, 59%, 27%)
HSVhsv(233, 74%, 42%)
CMYKcmyk(74.1%, 65.7%, 0%, 57.6%)
CIE-LABlab(18.59, 22.55, -42.47)
CIE-LCHlch(18.59, 48.09, 297.96°)
OKLaboklab(30.72% 0.0032 -0.1226)
OKLCHoklch(30.72% 0.123 271.5)
XYZxyz(3.8463, 2.6523, 14.4937)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C256C #6C631C
analogous
#1C4D6C #1C256C #3B1C6C
triadic
#1C256C #6C1C25 #256C1C
tetradic
#1C256C #6C1C4D #6C631C #1C6C3B
square
#1C256C #6C1C4D #6C631C #1C6C3B
split-complementary
#1C256C #6C3B1C #4D6C1C
monochromatic
#060818 #0F143B #1C256C #29369D #3748CB

Accessibility & contrast

On white

13.72
#1C256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C256C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C256C#FFFFFF#000000##FFFFFF
##1C256C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c256c;
/* rgb */ color: rgb(28, 37, 108);
/* oklch */ color: oklch(30.7% 0.123 271.5);
Tailwind
colors: {
  custom: {
    50: '#655f97',
    500: '#1c256c',
    950: '#000000',
  },
}
SCSS
$custom: #1c256c;
$custom-light: #655f97;
$custom-dark: #000000;
JSON
{
  "hex": "#1c256c",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 233.25,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30718,
    "c": 0.12266,
    "h": 271.5
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#1C256C
secondary
#A19643
accent
#D046E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C256C

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

Preview Lab → · Contrast checker → · Palette generator →

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