#1C247B#1C247B

#1C247B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.145 H 271.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1C247B
RGBrgb(28, 36, 123)
HSLhsl(235, 63%, 30%)
HSVhsv(235, 77%, 48%)
CMYKcmyk(77.2%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.79, 29.02, -50.16)
CIE-LCHlch(19.79, 57.95, 300.06°)
OKLaboklab(32.04% 0.0027 -0.1451)
OKLCHoklch(32.04% 0.145 271.1)
XYZxyz(4.6837, 2.9382, 19.0553)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C247B #7B731C
analogous
#1C547B #1C247B #431C7B
triadic
#1C247B #7B1C24 #247B1C
tetradic
#1C247B #7B1C54 #7B731C #1C7B43
square
#1C247B #7B1C54 #7B731C #1C7B43
split-complementary
#1C247B #7B431C #547B1C
monochromatic
#060719 #111549 #1C247B #2733AD #3E4BD3

Accessibility & contrast

On white

13.23
#1C247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C247B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C247B#FFFFFF#000000##FFFFFF
##1C247B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c247b;
/* rgb */ color: rgb(28, 36, 123);
/* oklch */ color: oklch(32.0% 0.145 271.1);
Tailwind
colors: {
  custom: {
    50: '#695fa2',
    500: '#1c247b',
    950: '#000000',
  },
}
SCSS
$custom: #1c247b;
$custom-light: #695fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c247b",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 234.947,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.14514,
    "h": 271.1
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#1C247B
secondary
#AFA644
accent
#D842E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C247B

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

Preview Lab → · Contrast checker → · Palette generator →

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