#1C266D#1C266D

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

Color values

HEX#1C266D
RGBrgb(28, 38, 109)
HSLhsl(233, 59%, 27%)
HSVhsv(233, 74%, 43%)
CMYKcmyk(74.3%, 65.1%, 0%, 57.3%)
CIE-LABlab(18.96, 22.24, -42.53)
CIE-LCHlch(18.96, 47.99, 297.61°)
OKLaboklab(31.01% 0.0024 -0.1228)
OKLCHoklch(31.01% 0.123 271.1)
XYZxyz(3.9314, 2.7368, 14.7861)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C266D #6D631C
analogous
#1C4F6D #1C266D #3B1C6D
triadic
#1C266D #6D1C26 #266D1C
tetradic
#1C266D #6D1C4F #6D631C #1C6D3B
square
#1C266D #6D1C4F #6D631C #1C6D3B
split-complementary
#1C266D #6D3B1C #4F6D1C
monochromatic
#060818 #0F153C #1C266D #29379E #384ACC

Accessibility & contrast

On white

13.57
#1C266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C266D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C266D#FFFFFF#000000##FFFFFF
##1C266D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c266d;
/* rgb */ color: rgb(28, 38, 109);
/* oklch */ color: oklch(31.0% 0.123 271.1);
Tailwind
colors: {
  custom: {
    50: '#656098',
    500: '#1c266d',
    950: '#000000',
  },
}
SCSS
$custom: #1c266d;
$custom-light: #656098;
$custom-dark: #000000;
JSON
{
  "hex": "#1c266d",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 232.593,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31015,
    "c": 0.12279,
    "h": 271.1
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#1C266D
secondary
#A29643
accent
#CF45E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C266D

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

Preview Lab → · Contrast checker → · Palette generator →

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