#1C338B#1C338B

#1C338B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.149 H 267.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1C338B
RGBrgb(28, 51, 139)
HSLhsl(228, 66%, 33%)
HSVhsv(228, 80%, 55%)
CMYKcmyk(79.9%, 63.3%, 0%, 45.5%)
CIE-LABlab(25.19, 25.03, -51.37)
CIE-LCHlch(25.19, 57.14, 295.97°)
OKLaboklab(36.47% -0.0075 -0.1485)
OKLCHoklch(36.47% 0.149 267.1)
XYZxyz(6.3213, 4.4779, 24.9523)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338B #8B741C
analogous
#1C6A8B #1C338B #3D1C8B
triadic
#1C338B #8B1C33 #338B1C
tetradic
#1C338B #8B1C6A #8B741C #1C8B3D
square
#1C338B #8B1C6A #8B741C #1C8B3D
split-complementary
#1C338B #8B3D1C #6A8B1C
monochromatic
#070E25 #122058 #1C338B #2646BE #4766DA

Accessibility & contrast

On white

11.08
#1C338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1C338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C338B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C338B#FFFFFF#000000##FFFFFF
##1C338B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c338b;
/* rgb */ color: rgb(28, 51, 139);
/* oklch */ color: oklch(36.5% 0.149 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aae',
    500: '#1c338b',
    950: '#000000',
  },
}
SCSS
$custom: #1c338b;
$custom-light: #6c6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338b",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 227.568,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36469,
    "c": 0.14873,
    "h": 267.1
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#1C338B
secondary
#BCA447
accent
#C63EE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C338B

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

Preview Lab → · Contrast checker → · Palette generator →

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