#1C307B#1C307B

#1C307B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.130 H 267.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1C307B
RGBrgb(28, 48, 123)
HSLhsl(227, 63%, 30%)
HSVhsv(227, 77%, 48%)
CMYKcmyk(77.2%, 61%, 0%, 51.8%)
CIE-LABlab(22.97, 20.75, -44.97)
CIE-LCHlch(22.97, 49.52, 294.77°)
OKLaboklab(34.38% -0.0055 -0.1298)
OKLCHoklch(34.38% 0.13 267.6)
XYZxyz(5.1097, 3.7903, 19.1974)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C307B #7B671C
analogous
#1C607B #1C307B #371C7B
triadic
#1C307B #7B1C30 #307B1C
tetradic
#1C307B #7B1C60 #7B671C #1C7B37
square
#1C307B #7B1C60 #7B671C #1C7B37
split-complementary
#1C307B #7B371C #607B1C
monochromatic
#060A19 #111D49 #1C307B #2743AD #3E5ED3

Accessibility & contrast

On white

11.94
#1C307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C307B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C307B#FFFFFF#000000##FFFFFF
##1C307B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c307b;
/* rgb */ color: rgb(28, 48, 123);
/* oklch */ color: oklch(34.4% 0.130 267.6);
Tailwind
colors: {
  custom: {
    50: '#6868a2',
    500: '#1c307b',
    950: '#000000',
  },
}
SCSS
$custom: #1c307b;
$custom-light: #6868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c307b",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 227.368,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34377,
    "c": 0.12992,
    "h": 267.6
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#1C307B
secondary
#AF9844
accent
#C342E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C307B

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

Preview Lab → · Contrast checker → · Palette generator →

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