#1C256A#1C256A

#1C256A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.120 H 271.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1C256A
RGBrgb(28, 37, 106)
HSLhsl(233, 58%, 26%)
HSVhsv(233, 74%, 42%)
CMYKcmyk(73.6%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.41, 21.76, -41.47)
CIE-LCHlch(18.41, 46.83, 297.69°)
OKLaboklab(30.53% 0.0033 -0.1197)
OKLCHoklch(30.53% 0.12 271.6)
XYZxyz(3.7411, 2.6103, 13.9395)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C256A #6A611C
analogous
#1C4C6A #1C256A #3A1C6A
triadic
#1C256A #6A1C25 #256A1C
tetradic
#1C256A #6A1C4C #6A611C #1C6A3A
square
#1C256A #6A1C4C #6A611C #1C6A3A
split-complementary
#1C256A #6A3A1C #4C6A1C
monochromatic
#060818 #0F143A #1C256A #29369A #3647CA

Accessibility & contrast

On white

13.80
#1C256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C256A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C256A#FFFFFF#000000##FFFFFF
##1C256A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c256a;
/* rgb */ color: rgb(28, 37, 106);
/* oklch */ color: oklch(30.5% 0.120 271.6);
Tailwind
colors: {
  custom: {
    50: '#645f95',
    500: '#1c256a',
    950: '#000000',
  },
}
SCSS
$custom: #1c256a;
$custom-light: #645f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1c256a",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 233.077,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.11972,
    "h": 271.6
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#1C256A
secondary
#9F9443
accent
#D046E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C256A

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

Preview Lab → · Contrast checker → · Palette generator →

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