#256797#256797

#256797 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.5% C 0.101 H 244.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#256797
RGBrgb(37, 103, 151)
HSLhsl(205, 61%, 37%)
HSVhsv(205, 75%, 59%)
CMYKcmyk(75.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.73, -3.73, -32.12)
CIE-LCHlch(41.73, 32.34, 263.37°)
OKLaboklab(49.55% -0.044 -0.091)
OKLCHoklch(49.55% 0.101 244.2)
XYZxyz(11.1970, 12.3269, 31.0614)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256797 #975525
analogous
#25978E #256797 #252E97
triadic
#256797 #972567 #679725
tetradic
#256797 #8E2597 #975525 #2E9725
square
#256797 #8E2597 #975525 #2E9725
split-complementary
#256797 #97252E #978E25
monochromatic
#0D2435 #194566 #256797 #3189C8 #5FA5D8

Accessibility & contrast

On white

6.06
#256797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#256797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256797
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256797#FFFFFF#000000##FFFFFF
##2567971.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #256797;
/* rgb */ color: rgb(37, 103, 151);
/* oklch */ color: oklch(49.5% 0.101 244.2);
Tailwind
colors: {
  custom: {
    50: '#7092b6',
    500: '#256797',
    950: '#000000',
  },
}
SCSS
$custom: #256797;
$custom-light: #7092b6;
$custom-dark: #000000;
JSON
{
  "hex": "#256797",
  "rgb": {
    "r": 37,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 205.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.10111,
    "h": 244.2
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#256797
secondary
#BD845B
accent
#8744E4
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #256797

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

Preview Lab → · Contrast checker → · Palette generator →

#256797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva