#1C308E#1C308E

#1C308E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.157 H 267.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1C308E
RGBrgb(28, 48, 142)
HSLhsl(229, 67%, 33%)
HSVhsv(229, 80%, 56%)
CMYKcmyk(80.3%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.68, 28.24, -54.07)
CIE-LCHlch(24.68, 61.00, 297.58°)
OKLaboklab(36.18% -0.0058 -0.1565)
OKLCHoklch(36.18% 0.157 267.9)
XYZxyz(6.4166, 4.3130, 26.0803)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C308E #8E7A1C
analogous
#1C698E #1C308E #411C8E
triadic
#1C308E #8E1C30 #308E1C
tetradic
#1C308E #8E1C69 #8E7A1C #1C8E41
square
#1C308E #8E1C69 #8E7A1C #1C8E41
split-complementary
#1C308E #8E411C #698E1C
monochromatic
#080D28 #121F5B #1C308E #2641C1 #4963DB

Accessibility & contrast

On white

11.27
#1C308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C308E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C308E#FFFFFF#000000##FFFFFF
##1C308E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c308e;
/* rgb */ color: rgb(28, 48, 142);
/* oklch */ color: oklch(36.2% 0.157 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d68b0',
    500: '#1c308e',
    950: '#000000',
  },
}
SCSS
$custom: #1c308e;
$custom-light: #6d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c308e",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 229.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.15659,
    "h": 267.9
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#1C308E
secondary
#BDA949
accent
#CC3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C308E

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

Preview Lab → · Contrast checker → · Palette generator →

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