#1C148B#1C148B

#1C148B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.181 H 272.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1C148B
RGBrgb(28, 20, 139)
HSLhsl(244, 75%, 31%)
HSVhsv(244, 86%, 55%)
CMYKcmyk(79.9%, 85.6%, 0%, 45.5%)
CIE-LABlab(18.41, 43.74, -62.55)
CIE-LCHlch(18.41, 76.33, 304.97°)
OKLaboklab(31.61% 0.0062 -0.1809)
OKLCHoklch(31.61% 0.181 272)
XYZxyz(5.3877, 2.6107, 24.6411)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C148B #838B14
analogous
#14478B #1C148B #57148B
triadic
#1C148B #8B1C14 #148B1C
tetradic
#1C148B #8B1447 #838B14 #148B57
square
#1C148B #8B1447 #838B14 #148B57
split-complementary
#1C148B #8B5714 #478B14
monochromatic
#060520 #110C55 #1C148B #271CC1 #4337E2

Accessibility & contrast

On white

13.80
#1C148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C148B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C148B#FFFFFF#000000##FFFFFF
##1C148B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c148b;
/* rgb */ color: rgb(28, 20, 139);
/* oklch */ color: oklch(31.6% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f56ae',
    500: '#1c148b',
    950: '#000000',
  },
}
SCSS
$custom: #1c148b;
$custom-light: #6f56ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c148b",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 244.034,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31605,
    "c": 0.18106,
    "h": 272
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#1C148B
secondary
#B6BF3C
accent
#F136E5
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1C148B

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

Preview Lab → · Contrast checker → · Palette generator →

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