#256FA7#256FA7

#256FA7 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.114 H 245.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#256FA7
RGBrgb(37, 111, 167)
HSLhsl(206, 64%, 40%)
HSVhsv(206, 78%, 65%)
CMYKcmyk(77.8%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.01, -2.63, -36.42)
CIE-LCHlch(45.01, 36.51, 265.88°)
OKLaboklab(52.4% -0.0469 -0.1034)
OKLCHoklch(52.4% 0.114 245.6)
XYZxyz(13.4197, 14.5506, 38.6530)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256FA7 #A75D25
analogous
#25A79E #256FA7 #252EA7
triadic
#256FA7 #A7256F #6FA725
tetradic
#256FA7 #9E25A7 #A75D25 #2EA725
square
#256FA7 #9E25A7 #A75D25 #2EA725
split-complementary
#256FA7 #A7252E #A79E25
monochromatic
#0F2C43 #1A4E75 #256FA7 #378FD3 #69ABDE

Accessibility & contrast

On white

5.37
#256FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#256FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256FA7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256FA7#FFFFFF#000000##FFFFFF
##256FA71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #256fa7;
/* rgb */ color: rgb(37, 111, 167);
/* oklch */ color: oklch(52.4% 0.114 245.6);
Tailwind
colors: {
  custom: {
    50: '#7398c1',
    500: '#256fa7',
    950: '#000000',
  },
}
SCSS
$custom: #256fa7;
$custom-light: #7398c1;
$custom-dark: #000000;
JSON
{
  "hex": "#256fa7",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 205.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.11356,
    "h": 245.6
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#256FA7
secondary
#C48D64
accent
#8841E7
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #256FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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