#256CA8#256CA8

#256CA8 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.118 H 248.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#256CA8
RGBrgb(37, 108, 168)
HSLhsl(207, 64%, 40%)
HSVhsv(207, 78%, 66%)
CMYKcmyk(78%, 35.7%, 0%, 34.1%)
CIE-LABlab(44.15, -0.41, -38.37)
CIE-LCHlch(44.15, 38.37, 269.39°)
OKLaboklab(51.74% -0.0438 -0.1092)
OKLCHoklch(51.74% 0.118 248.1)
XYZxyz(13.1907, 13.9440, 39.0345)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256CA8 #A86125
analogous
#25A8A2 #256CA8 #252BA8
triadic
#256CA8 #A8256C #6CA825
tetradic
#256CA8 #A225A8 #A86125 #2BA825
square
#256CA8 #A225A8 #A86125 #2BA825
split-complementary
#256CA8 #A8252B #A8A225
monochromatic
#0F2C44 #1A4C76 #256CA8 #378CD3 #69A9DE

Accessibility & contrast

On white

5.54
#256CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#256CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256CA8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256CA8#FFFFFF#000000##FFFFFF
##256CA81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #256ca8;
/* rgb */ color: rgb(37, 108, 168);
/* oklch */ color: oklch(51.7% 0.118 248.1);
Tailwind
colors: {
  custom: {
    50: '#7395c2',
    500: '#256ca8',
    950: '#000000',
  },
}
SCSS
$custom: #256ca8;
$custom-light: #7395c2;
$custom-dark: #000000;
JSON
{
  "hex": "#256ca8",
  "rgb": {
    "r": 37,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 207.481,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.11762,
    "h": 248.1
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#256CA8
secondary
#C49065
accent
#8D41E7
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #256CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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