#1C235F#1C235F

#1C235F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.106 H 272.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1C235F
RGBrgb(28, 35, 95)
HSLhsl(234, 54%, 24%)
HSVhsv(234, 71%, 37%)
CMYKcmyk(70.5%, 63.2%, 0%, 62.7%)
CIE-LABlab(16.87, 18.84, -36.75)
CIE-LCHlch(16.87, 41.30, 297.14°)
OKLaboklab(29.08% 0.0053 -0.1058)
OKLCHoklch(29.08% 0.106 272.9)
XYZxyz(3.1448, 2.2749, 11.0976)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C235F #5F581C
analogous
#1C455F #1C235F #371C5F
triadic
#1C235F #5F1C23 #235F1C
tetradic
#1C235F #5F1C45 #5F581C #1C5F37
square
#1C235F #5F1C45 #5F581C #1C5F37
split-complementary
#1C235F #5F371C #455F1C
monochromatic
#070918 #0E1230 #1C235F #2A348E #3846BE

Accessibility & contrast

On white

14.43
#1C235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C235F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C235F#FFFFFF#000000##FFFFFF
##1C235F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c235f;
/* rgb */ color: rgb(28, 35, 95);
/* oklch */ color: oklch(29.1% 0.106 272.9);
Tailwind
colors: {
  custom: {
    50: '#625d8d',
    500: '#1c235f',
    950: '#000000',
  },
}
SCSS
$custom: #1c235f;
$custom-light: #625d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c235f",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 233.731,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29077,
    "c": 0.10597,
    "h": 272.9
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#1C235F
secondary
#948C42
accent
#CE4ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C235F

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

Preview Lab → · Contrast checker → · Palette generator →

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