#256DC1#256DC1

#256DC1 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.6% C 0.149 H 255.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#256DC1
RGBrgb(37, 109, 193)
HSLhsl(212, 68%, 45%)
HSVhsv(212, 81%, 76%)
CMYKcmyk(80.8%, 43.5%, 0%, 24.3%)
CIE-LABlab(45.88, 8.52, -50.18)
CIE-LCHlch(45.88, 50.90, 279.63°)
OKLaboklab(53.55% -0.0386 -0.1438)
OKLCHoklch(53.55% 0.149 255)
XYZxyz(15.8536, 15.1789, 52.5360)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256DC1 #C17925
analogous
#25BBC1 #256DC1 #2B25C1
triadic
#256DC1 #C1256D #6DC125
tetradic
#256DC1 #C125BB #C17925 #25C12B
square
#256DC1 #C125BB #C17925 #25C12B
split-complementary
#256DC1 #C12B25 #BBC125
monochromatic
#11335A #1B508E #256DC1 #478CDC #7BACE6

Accessibility & contrast

On white

5.20
#256DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#256DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256DC1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256DC1#FFFFFF#000000##FFFFFF
##256DC11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #256dc1;
/* rgb */ color: rgb(37, 109, 193);
/* oklch */ color: oklch(53.6% 0.149 255.0);
Tailwind
colors: {
  custom: {
    50: '#7996d4',
    500: '#256dc1',
    950: '#000000',
  },
}
SCSS
$custom: #256dc1;
$custom-light: #7996d4;
$custom-dark: #000000;
JSON
{
  "hex": "#256dc1",
  "rgb": {
    "r": 37,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 212.308,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.14891,
    "h": 255
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#256DC1
secondary
#CEA474
accent
#9B3DEB
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #256DC1

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

Preview Lab → · Contrast checker → · Palette generator →

#256DC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva