#1C268B#1C268B

#1C268B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.164 H 269.9°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C268B
RGBrgb(28, 38, 139)
HSLhsl(235, 66%, 33%)
HSVhsv(235, 80%, 55%)
CMYKcmyk(79.9%, 72.7%, 0%, 45.5%)
CIE-LABlab(21.93, 33.70, -56.72)
CIE-LCHlch(21.93, 65.98, 300.71°)
OKLaboklab(34.09% -0.0002 -0.1643)
OKLCHoklch(34.09% 0.164 269.9)
XYZxyz(5.8306, 3.4965, 24.7887)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C268B #8B811C
analogous
#1C5D8B #1C268B #4A1C8B
triadic
#1C268B #8B1C26 #268B1C
tetradic
#1C268B #8B1C5D #8B811C #1C8B4A
square
#1C268B #8B1C5D #8B811C #1C8B4A
split-complementary
#1C268B #8B4A1C #5D8B1C
monochromatic
#070A25 #121858 #1C268B #2634BE #4755DA

Accessibility & contrast

On white

12.36
#1C268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C268B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C268B#FFFFFF#000000##FFFFFF
##1C268B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c268b;
/* rgb */ color: rgb(28, 38, 139);
/* oklch */ color: oklch(34.1% 0.164 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d61ae',
    500: '#1c268b',
    950: '#000000',
  },
}
SCSS
$custom: #1c268b;
$custom-light: #6d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c268b",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 234.595,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34086,
    "c": 0.16426,
    "h": 269.9
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#1C268B
secondary
#BCB147
accent
#DA3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C268B

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

Preview Lab → · Contrast checker → · Palette generator →

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