#1C268E#1C268E

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

Color values

HEX#1C268E
RGBrgb(28, 38, 142)
HSLhsl(235, 67%, 33%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(80.3%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.25, 34.80, -58.07)
CIE-LCHlch(22.25, 67.69, 300.93°)
OKLaboklab(34.41% -0.0006 -0.1682)
OKLCHoklch(34.41% 0.168 269.8)
XYZxyz(6.0528, 3.5854, 25.9590)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C268E #8E841C
analogous
#1C5F8E #1C268E #4B1C8E
triadic
#1C268E #8E1C26 #268E1C
tetradic
#1C268E #8E1C5F #8E841C #1C8E4B
square
#1C268E #8E1C5F #8E841C #1C8E4B
split-complementary
#1C268E #8E4B1C #5F8E1C
monochromatic
#080B28 #12185B #1C268E #2634C1 #4956DB

Accessibility & contrast

On white

12.23
#1C268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C268E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C268E#FFFFFF#000000##FFFFFF
##1C268E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c268e;
/* rgb */ color: rgb(28, 38, 142);
/* oklch */ color: oklch(34.4% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e61b0',
    500: '#1c268e',
    950: '#000000',
  },
}
SCSS
$custom: #1c268e;
$custom-light: #6e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c268e",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 234.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.16817,
    "h": 269.8
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C268E

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

Preview Lab → · Contrast checker → · Palette generator →

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