#1C256F#1C256F

#1C256F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.127 H 271.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1C256F
RGBrgb(28, 37, 111)
HSLhsl(233, 60%, 27%)
HSVhsv(233, 75%, 44%)
CMYKcmyk(74.8%, 66.7%, 0%, 56.5%)
CIE-LABlab(18.87, 23.72, -43.96)
CIE-LCHlch(18.87, 49.95, 298.35°)
OKLaboklab(31.01% 0.0031 -0.127)
OKLCHoklch(31.01% 0.127 271.4)
XYZxyz(4.0087, 2.7173, 15.3491)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C256F #6F661C
analogous
#1C4F6F #1C256F #3D1C6F
triadic
#1C256F #6F1C25 #256F1C
tetradic
#1C256F #6F1C4F #6F661C #1C6F3D
square
#1C256F #6F1C4F #6F661C #1C6F3D
split-complementary
#1C256F #6F3D1C #4F6F1C
monochromatic
#060818 #10153E #1C256F #2835A0 #3849CD

Accessibility & contrast

On white

13.60
#1C256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C256F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C256F#FFFFFF#000000##FFFFFF
##1C256F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c256f;
/* rgb */ color: rgb(28, 37, 111);
/* oklch */ color: oklch(31.0% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#655f99',
    500: '#1c256f',
    950: '#000000',
  },
}
SCSS
$custom: #1c256f;
$custom-light: #655f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1c256f",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 233.494,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.12702,
    "h": 271.4
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#1C256F
secondary
#A49943
accent
#D245E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C256F

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

Preview Lab → · Contrast checker → · Palette generator →

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