#1C2E5F#1C2E5F

#1C2E5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.090 H 266.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2E5F
RGBrgb(28, 46, 95)
HSLhsl(224, 54%, 24%)
HSVhsv(224, 71%, 37%)
CMYKcmyk(70.5%, 51.6%, 0%, 62.7%)
CIE-LABlab(20.15, 10.85, -31.44)
CIE-LCHlch(20.15, 33.26, 289.04°)
OKLaboklab(31.55% -0.006 -0.0901)
OKLCHoklch(31.55% 0.09 266.2)
XYZxyz(3.5207, 3.0268, 11.2229)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E5F #5F4D1C
analogous
#1C505F #1C2E5F #2C1C5F
triadic
#1C2E5F #5F1C2E #2E5F1C
tetradic
#1C2E5F #5F1C50 #5F4D1C #1C5F2C
square
#1C2E5F #5F1C50 #5F4D1C #1C5F2C
split-complementary
#1C2E5F #5F2C1C #505F1C
monochromatic
#070B18 #0E1730 #1C2E5F #2A458E #385CBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2E5F#FFFFFF#000000##FFFFFF
##1C2E5F1.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)
#143461
Deuteranopia (green-blind)
#062E5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2e5f;
/* rgb */ color: rgb(28, 46, 95);
/* oklch */ color: oklch(31.5% 0.090 266.2);
Tailwind
colors: {
  custom: {
    50: '#61668d',
    500: '#1c2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e5f;
$custom-light: #61668d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e5f",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 223.881,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.09026,
    "h": 266.2
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#1C2E5F
secondary
#947E42
accent
#B64ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1C2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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