#1C295F#1C295F

#1C295F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.097 H 269.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1C295F
RGBrgb(28, 41, 95)
HSLhsl(228, 54%, 24%)
HSVhsv(228, 71%, 37%)
CMYKcmyk(70.5%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.62, 14.49, -33.91)
CIE-LCHlch(18.62, 36.87, 293.13°)
OKLaboklab(30.39% -0.0007 -0.0974)
OKLCHoklch(30.39% 0.097 269.6)
XYZxyz(3.3367, 2.6587, 11.1616)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C295F #5F521C
analogous
#1C4B5F #1C295F #311C5F
triadic
#1C295F #5F1C29 #295F1C
tetradic
#1C295F #5F1C4B #5F521C #1C5F31
square
#1C295F #5F1C4B #5F521C #1C5F31
split-complementary
#1C295F #5F311C #4B5F1C
monochromatic
#070A18 #0E1530 #1C295F #2A3D8E #3852BE

Accessibility & contrast

On white

13.71
#1C295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C295F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C295F#FFFFFF#000000##FFFFFF
##1C295F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c295f;
/* rgb */ color: rgb(28, 41, 95);
/* oklch */ color: oklch(30.4% 0.097 269.6);
Tailwind
colors: {
  custom: {
    50: '#61628d',
    500: '#1c295f',
    950: '#000000',
  },
}
SCSS
$custom: #1c295f;
$custom-light: #61628d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c295f",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 228.358,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30389,
    "c": 0.0974,
    "h": 269.6
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#1C295F
secondary
#948442
accent
#C14ADE
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1C295F

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

Preview Lab → · Contrast checker → · Palette generator →

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