#1C2F5B#1C2F5B

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

Color values

HEX#1C2F5B
RGBrgb(28, 47, 91)
HSLhsl(222, 53%, 23%)
HSVhsv(222, 69%, 36%)
CMYKcmyk(69.2%, 48.4%, 0%, 64.3%)
CIE-LABlab(20.18, 8.51, -28.75)
CIE-LCHlch(20.18, 29.99, 286.49°)
OKLaboklab(31.48% -0.0078 -0.0821)
OKLCHoklch(31.48% 0.083 264.6)
XYZxyz(3.3831, 3.0349, 10.3030)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F5B #5B481C
analogous
#1C4E5B #1C2F5B #281C5B
triadic
#1C2F5B #5B1C2F #2F5B1C
tetradic
#1C2F5B #5B1C4E #5B481C #1C5B28
square
#1C2F5B #5B1C4E #5B481C #1C5B28
split-complementary
#1C2F5B #5B281C #4E5B1C
monochromatic
#070C17 #0E172C #1C2F5B #2A478A #395FB9

Accessibility & contrast

On white

13.07
#1C2F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F5B
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F5B#FFFFFF#000000##FFFFFF
##1C2F5B1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345D
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2f5b;
/* rgb */ color: rgb(28, 47, 91);
/* oklch */ color: oklch(31.5% 0.083 264.6);
Tailwind
colors: {
  custom: {
    50: '#60678a',
    500: '#1c2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f5b;
$custom-light: #60678a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f5b",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 221.905,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.0825,
    "h": 264.6
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#1C2F5B
secondary
#907942
accent
#B14BDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1C2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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