#1C257C#1C257C

#1C257C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.145 H 270.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C257C
RGBrgb(28, 37, 124)
HSLhsl(234, 63%, 30%)
HSVhsv(234, 77%, 49%)
CMYKcmyk(77.4%, 70.2%, 0%, 51.4%)
CIE-LABlab(20.14, 28.74, -50.22)
CIE-LCHlch(20.14, 57.86, 299.78°)
OKLaboklab(32.33% 0.002 -0.1453)
OKLCHoklch(32.33% 0.145 270.8)
XYZxyz(4.7773, 3.0247, 19.3969)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C257C #7C731C
analogous
#1C557C #1C257C #431C7C
triadic
#1C257C #7C1C25 #257C1C
tetradic
#1C257C #7C1C55 #7C731C #1C7C43
square
#1C257C #7C1C55 #7C731C #1C7C43
split-complementary
#1C257C #7C431C #557C1C
monochromatic
#060719 #11164A #1C257C #2734AE #3F4DD4

Accessibility & contrast

On white

13.08
#1C257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C257C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C257C#FFFFFF#000000##FFFFFF
##1C257C1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c257c;
/* rgb */ color: rgb(28, 37, 124);
/* oklch */ color: oklch(32.3% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#695fa3',
    500: '#1c257c',
    950: '#000000',
  },
}
SCSS
$custom: #1c257c;
$custom-light: #695fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c257c",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 234.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.1453,
    "h": 270.8
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#1C257C
secondary
#B0A644
accent
#D742E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C257C

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

Preview Lab → · Contrast checker → · Palette generator →

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