#1C237B#1C237B

#1C237B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.146 H 271.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1C237B
RGBrgb(28, 35, 123)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 77%, 48%)
CMYKcmyk(77.2%, 71.5%, 0%, 51.8%)
CIE-LABlab(19.55, 29.69, -50.56)
CIE-LCHlch(19.55, 58.63, 300.42°)
OKLaboklab(31.87% 0.0033 -0.1463)
OKLCHoklch(31.87% 0.146 271.3)
XYZxyz(4.6539, 2.8785, 19.0454)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C237B #7B741C
analogous
#1C537B #1C237B #451C7B
triadic
#1C237B #7B1C23 #237B1C
tetradic
#1C237B #7B1C53 #7B741C #1C7B45
square
#1C237B #7B1C53 #7B741C #1C7B45
split-complementary
#1C237B #7B451C #537B1C
monochromatic
#060719 #111549 #1C237B #2731AD #3E49D3

Accessibility & contrast

On white

13.33
#1C237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C237B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C237B#FFFFFF#000000##FFFFFF
##1C237B1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c237b;
/* rgb */ color: rgb(28, 35, 123);
/* oklch */ color: oklch(31.9% 0.146 271.3);
Tailwind
colors: {
  custom: {
    50: '#695ea2',
    500: '#1c237b',
    950: '#000000',
  },
}
SCSS
$custom: #1c237b;
$custom-light: #695ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c237b",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 235.579,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.14632,
    "h": 271.3
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#1C237B
secondary
#AFA744
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C237B

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

Preview Lab → · Contrast checker → · Palette generator →

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