#1C338A#1C338A

#1C338A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 267.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1C338A
RGBrgb(28, 51, 138)
HSLhsl(227, 66%, 33%)
HSVhsv(227, 80%, 54%)
CMYKcmyk(79.7%, 63%, 0%, 45.9%)
CIE-LABlab(25.10, 24.63, -50.89)
CIE-LCHlch(25.10, 56.54, 295.83°)
OKLaboklab(36.38% -0.0075 -0.1471)
OKLCHoklch(36.38% 0.147 267.1)
XYZxyz(6.2486, 4.4488, 24.5692)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338A #8A731C
analogous
#1C6A8A #1C338A #3C1C8A
triadic
#1C338A #8A1C33 #338A1C
tetradic
#1C338A #8A1C6A #8A731C #1C8A3C
square
#1C338A #8A1C6A #8A731C #1C8A3C
split-complementary
#1C338A #8A3C1C #6A8A1C
monochromatic
#070D24 #122057 #1C338A #2646BD #4765DA

Accessibility & contrast

On white

11.11
#1C338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1C338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C338A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C338A#FFFFFF#000000##FFFFFF
##1C338A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c338a;
/* rgb */ color: rgb(28, 51, 138);
/* oklch */ color: oklch(36.4% 0.147 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aad',
    500: '#1c338a',
    950: '#000000',
  },
}
SCSS
$custom: #1c338a;
$custom-light: #6b6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338a",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 227.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36375,
    "c": 0.14734,
    "h": 267.1
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#1C338A
secondary
#BBA346
accent
#C63FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C338A

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

Preview Lab → · Contrast checker → · Palette generator →

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