#1C266B#1C266B

#1C266B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.120 H 271.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1C266B
RGBrgb(28, 38, 107)
HSLhsl(232, 59%, 26%)
HSVhsv(232, 74%, 42%)
CMYKcmyk(73.8%, 64.5%, 0%, 58%)
CIE-LABlab(18.78, 21.45, -41.53)
CIE-LCHlch(18.78, 46.74, 297.32°)
OKLaboklab(30.82% 0.0024 -0.1198)
OKLCHoklch(30.82% 0.12 271.2)
XYZxyz(3.8249, 2.6943, 14.2255)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C266B #6B611C
analogous
#1C4E6B #1C266B #3A1C6B
triadic
#1C266B #6B1C26 #266B1C
tetradic
#1C266B #6B1C4E #6B611C #1C6B3A
square
#1C266B #6B1C4E #6B611C #1C6B3A
split-complementary
#1C266B #6B3A1C #4E6B1C
monochromatic
#060918 #0F153A #1C266B #29379C #374ACB

Accessibility & contrast

On white

13.65
#1C266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C266B
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C266B#FFFFFF#000000##FFFFFF
##1C266B1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c266b;
/* rgb */ color: rgb(28, 38, 107);
/* oklch */ color: oklch(30.8% 0.120 271.2);
Tailwind
colors: {
  custom: {
    50: '#646096',
    500: '#1c266b',
    950: '#000000',
  },
}
SCSS
$custom: #1c266b;
$custom-light: #646096;
$custom-dark: #000000;
JSON
{
  "hex": "#1c266b",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 232.405,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.11985,
    "h": 271.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#1C266B
secondary
#A09443
accent
#CE46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C266B

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

Preview Lab → · Contrast checker → · Palette generator →

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