#1C268F#1C268F

#1C268F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.169 H 269.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1C268F
RGBrgb(28, 38, 143)
HSLhsl(235, 67%, 34%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(80.4%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.36, 35.16, -58.51)
CIE-LCHlch(22.36, 68.26, 301.00°)
OKLaboklab(34.52% -0.0007 -0.1695)
OKLCHoklch(34.52% 0.169 269.8)
XYZxyz(6.1282, 3.6156, 26.3562)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C268F #8F851C
analogous
#1C5F8F #1C268F #4B1C8F
triadic
#1C268F #8F1C26 #268F1C
tetradic
#1C268F #8F1C5F #8F851C #1C8F4B
square
#1C268F #8F1C5F #8F851C #1C8F4B
split-complementary
#1C268F #8F4B1C #5F8F1C
monochromatic
#080B29 #12185C #1C268F #2634C2 #4A57DC

Accessibility & contrast

On white

12.19
#1C268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C268F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C268F#FFFFFF#000000##FFFFFF
##1C268F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c268f;
/* rgb */ color: rgb(28, 38, 143);
/* oklch */ color: oklch(34.5% 0.169 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e61b1',
    500: '#1c268f',
    950: '#000000',
  },
}
SCSS
$custom: #1c268f;
$custom-light: #6e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c268f",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 234.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.16947,
    "h": 269.8
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#1C268F
secondary
#BEB349
accent
#DB3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C268F

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

Preview Lab → · Contrast checker → · Palette generator →

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