#01264E#01264E

#01264E is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 27.0% C 0.084 H 254.0°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#01264E
RGBrgb(1, 38, 78)
HSLhsl(211, 97%, 15%)
HSVhsv(211, 99%, 31%)
CMYKcmyk(98.7%, 51.3%, 0%, 69.4%)
CIE-LABlab(15.18, 5.45, -28.12)
CIE-LCHlch(15.18, 28.64, 280.98°)
OKLaboklab(27.02% -0.0232 -0.0809)
OKLCHoklch(27.02% 0.084 254)
XYZxyz(2.0803, 1.9425, 7.4715)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01264E #4E2901
analogous
#014C4E #01264E #03014E
triadic
#01264E #4E0126 #264E01
tetradic
#01264E #4E014C #4E2901 #014E03
square
#01264E #4E014C #4E2901 #014E03
split-complementary
#01264E #4E0301 #4C4E01
monochromatic
#000F1E #000F1E #01264E #02438A #0361C7

Accessibility & contrast

On white

15.12
#01264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#01264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01264E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01264E#FFFFFF#000000##FFFFFF
##01264E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A50
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #01264e;
/* rgb */ color: rgb(1, 38, 78);
/* oklch */ color: oklch(27.0% 0.084 254.0);
Tailwind
colors: {
  custom: {
    50: '#535f80',
    500: '#01264e',
    950: '#000000',
  },
}
SCSS
$custom: #01264e;
$custom-light: #535f80;
$custom-dark: #000000;
JSON
{
  "hex": "#01264e",
  "rgb": {
    "r": 1,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 211.169,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27019,
    "c": 0.08418,
    "h": 254
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#01264E
secondary
#90581B
accent
#9829FF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #01264E

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

Preview Lab → · Contrast checker → · Palette generator →

#01264E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva