#1256A1#1256A1

#1256A1 is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.137 H 255.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#1256A1
RGBrgb(18, 86, 161)
HSLhsl(211, 80%, 35%)
HSVhsv(211, 89%, 63%)
CMYKcmyk(88.8%, 46.6%, 0%, 36.9%)
CIE-LABlab(36.66, 9.12, -46.20)
CIE-LCHlch(36.66, 47.09, 281.16°)
OKLaboklab(45.64% -0.0357 -0.1328)
OKLCHoklch(45.64% 0.137 255)
XYZxyz(10.0078, 9.3561, 34.9897)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1256A1 #A15D12
analogous
#129DA1 #1256A1 #1612A1
triadic
#1256A1 #A11256 #56A112
tetradic
#1256A1 #A1129D #A15D12 #12A116
square
#1256A1 #A1129D #A15D12 #12A116
split-complementary
#1256A1 #A11612 #9DA112
monochromatic
#061B33 #0C396A #1256A1 #1873D8 #4393EA

Accessibility & contrast

On white

7.31
#1256A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1256A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1256A1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1256A1#FFFFFF#000000##FFFFFF
##1256A11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#0450A0
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1256a1;
/* rgb */ color: rgb(18, 86, 161);
/* oklch */ color: oklch(45.6% 0.137 255.0);
Tailwind
colors: {
  custom: {
    50: '#6d85bd',
    500: '#1256a1',
    950: '#000000',
  },
}
SCSS
$custom: #1256a1;
$custom-light: #6d85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1256a1",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 161
  },
  "hsl": {
    "h": 211.469,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.13748,
    "h": 255
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#1256A1
secondary
#CA8B45
accent
#9931F6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1256A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1256A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva