#1C257E#1C257E

#1C257E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.148 H 270.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1C257E
RGBrgb(28, 37, 126)
HSLhsl(234, 64%, 30%)
HSVhsv(234, 78%, 49%)
CMYKcmyk(77.8%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.34, 29.50, -51.16)
CIE-LCHlch(20.34, 59.05, 299.97°)
OKLaboklab(32.53% 0.0018 -0.148)
OKLCHoklch(32.53% 0.148 270.7)
XYZxyz(4.9051, 3.0758, 20.0698)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C257E #7E751C
analogous
#1C567E #1C257E #441C7E
triadic
#1C257E #7E1C25 #257E1C
tetradic
#1C257E #7E1C56 #7E751C #1C7E44
square
#1C257E #7E1C56 #7E751C #1C7E44
split-complementary
#1C257E #7E441C #567E1C
monochromatic
#06081A #11164C #1C257E #2734B0 #404ED5

Accessibility & contrast

On white

13.00
#1C257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C257E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C257E#FFFFFF#000000##FFFFFF
##1C257E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c257e;
/* rgb */ color: rgb(28, 37, 126);
/* oklch */ color: oklch(32.5% 0.148 270.7);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1c257e',
    950: '#000000',
  },
}
SCSS
$custom: #1c257e;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c257e",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 234.49,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32534,
    "c": 0.14804,
    "h": 270.7
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#1C257E
secondary
#B2A844
accent
#D741E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C257E

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

Preview Lab → · Contrast checker → · Palette generator →

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