#1C256D#1C256D

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

Color values

HEX#1C256D
RGBrgb(28, 37, 109)
HSLhsl(233, 59%, 27%)
HSVhsv(233, 74%, 43%)
CMYKcmyk(74.3%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.69, 22.94, -42.97)
CIE-LCHlch(18.69, 48.71, 298.10°)
OKLaboklab(30.82% 0.0032 -0.1241)
OKLCHoklch(30.82% 0.124 271.5)
XYZxyz(3.8998, 2.6738, 14.7756)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C256D #6D641C
analogous
#1C4E6D #1C256D #3C1C6D
triadic
#1C256D #6D1C25 #256D1C
tetradic
#1C256D #6D1C4E #6D641C #1C6D3C
square
#1C256D #6D1C4E #6D641C #1C6D3C
split-complementary
#1C256D #6D3C1C #4E6D1C
monochromatic
#060818 #0F143C #1C256D #29369E #3848CC

Accessibility & contrast

On white

13.68
#1C256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C256D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C256D#FFFFFF#000000##FFFFFF
##1C256D1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c256d;
/* rgb */ color: rgb(28, 37, 109);
/* oklch */ color: oklch(30.8% 0.124 271.5);
Tailwind
colors: {
  custom: {
    50: '#655f98',
    500: '#1c256d',
    950: '#000000',
  },
}
SCSS
$custom: #1c256d;
$custom-light: #655f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c256d",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 233.333,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30815,
    "c": 0.12412,
    "h": 271.5
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#1C256D
secondary
#A29743
accent
#D145E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C256D

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

Preview Lab → · Contrast checker → · Palette generator →

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