#1C256B#1C256B

#1C256B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.121 H 271.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1C256B
RGBrgb(28, 37, 107)
HSLhsl(233, 59%, 26%)
HSVhsv(233, 74%, 42%)
CMYKcmyk(73.8%, 65.4%, 0%, 58%)
CIE-LABlab(18.50, 22.16, -41.97)
CIE-LCHlch(18.50, 47.46, 297.83°)
OKLaboklab(30.62% 0.0032 -0.1211)
OKLCHoklch(30.62% 0.121 271.5)
XYZxyz(3.7934, 2.6312, 14.2150)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C256B #6B621C
analogous
#1C4D6B #1C256B #3B1C6B
triadic
#1C256B #6B1C25 #256B1C
tetradic
#1C256B #6B1C4D #6B621C #1C6B3B
square
#1C256B #6B1C4D #6B621C #1C6B3B
split-complementary
#1C256B #6B3B1C #4D6B1C
monochromatic
#060818 #0F143A #1C256B #29369C #3748CB

Accessibility & contrast

On white

13.76
#1C256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C256B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C256B#FFFFFF#000000##FFFFFF
##1C256B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c256b;
/* rgb */ color: rgb(28, 37, 107);
/* oklch */ color: oklch(30.6% 0.121 271.5);
Tailwind
colors: {
  custom: {
    50: '#645f96',
    500: '#1c256b',
    950: '#000000',
  },
}
SCSS
$custom: #1c256b;
$custom-light: #645f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1c256b",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 233.165,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30622,
    "c": 0.12119,
    "h": 271.5
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C256B

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

Preview Lab → · Contrast checker → · Palette generator →

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