#1C257A#1C257A

#1C257A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.143 H 270.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1C257A
RGBrgb(28, 37, 122)
HSLhsl(234, 63%, 29%)
HSVhsv(234, 77%, 48%)
CMYKcmyk(77%, 69.7%, 0%, 52.2%)
CIE-LABlab(19.94, 27.97, -49.28)
CIE-LCHlch(19.94, 56.66, 299.58°)
OKLaboklab(32.12% 0.0022 -0.1425)
OKLCHoklch(32.12% 0.143 270.9)
XYZxyz(4.6521, 2.9747, 18.7376)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C257A #7A711C
analogous
#1C547A #1C257A #421C7A
triadic
#1C257A #7A1C25 #257A1C
tetradic
#1C257A #7A1C54 #7A711C #1C7A42
square
#1C257A #7A1C54 #7A711C #1C7A42
split-complementary
#1C257A #7A421C #547A1C
monochromatic
#060819 #111648 #1C257A #2734AC #3E4CD3

Accessibility & contrast

On white

13.17
#1C257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C257A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C257A#FFFFFF#000000##FFFFFF
##1C257A1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c257a;
/* rgb */ color: rgb(28, 37, 122);
/* oklch */ color: oklch(32.1% 0.143 270.9);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1c257a',
    950: '#000000',
  },
}
SCSS
$custom: #1c257a;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c257a",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 234.255,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32119,
    "c": 0.14255,
    "h": 270.9
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#1C257A
secondary
#AEA444
accent
#D642E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C257A

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

Preview Lab → · Contrast checker → · Palette generator →

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