#1C265F#1C265F

#1C265F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.102 H 271.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#1C265F
RGBrgb(28, 38, 95)
HSLhsl(231, 54%, 24%)
HSVhsv(231, 71%, 37%)
CMYKcmyk(70.5%, 60%, 0%, 62.7%)
CIE-LABlab(17.73, 16.67, -35.35)
CIE-LCHlch(17.73, 39.08, 295.25°)
OKLaboklab(29.72% 0.0023 -0.1017)
OKLCHoklch(29.72% 0.102 271.3)
XYZxyz(3.2369, 2.4590, 11.1283)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C265F #5F551C
analogous
#1C485F #1C265F #341C5F
triadic
#1C265F #5F1C26 #265F1C
tetradic
#1C265F #5F1C48 #5F551C #1C5F34
square
#1C265F #5F1C48 #5F551C #1C5F34
split-complementary
#1C265F #5F341C #485F1C
monochromatic
#070918 #0E1330 #1C265F #2A398E #384CBE

Accessibility & contrast

On white

14.08
#1C265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C265F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C265F#FFFFFF#000000##FFFFFF
##1C265F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c265f;
/* rgb */ color: rgb(28, 38, 95);
/* oklch */ color: oklch(29.7% 0.102 271.3);
Tailwind
colors: {
  custom: {
    50: '#61608d',
    500: '#1c265f',
    950: '#000000',
  },
}
SCSS
$custom: #1c265f;
$custom-light: #61608d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c265f",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 231.045,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29721,
    "c": 0.10171,
    "h": 271.3
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#1C265F
secondary
#948842
accent
#C84ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1C265F

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

Preview Lab → · Contrast checker → · Palette generator →

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