#256798#256798

#256798 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.102 H 244.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#256798
RGBrgb(37, 103, 152)
HSLhsl(206, 61%, 37%)
HSVhsv(206, 76%, 60%)
CMYKcmyk(75.7%, 32.2%, 0%, 40.4%)
CIE-LABlab(41.78, -3.36, -32.64)
CIE-LCHlch(41.78, 32.81, 264.13°)
OKLaboklab(49.6% -0.0437 -0.0925)
OKLCHoklch(49.6% 0.102 244.7)
XYZxyz(11.2785, 12.3595, 31.4909)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256798 #985625
analogous
#259890 #256798 #252E98
triadic
#256798 #982567 #679825
tetradic
#256798 #902598 #985625 #2E9825
square
#256798 #902598 #985625 #2E9825
split-complementary
#256798 #98252E #989025
monochromatic
#0D2436 #194667 #256798 #3188C9 #5FA5D8

Accessibility & contrast

On white

6.05
#256798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #256798
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256798#FFFFFF#000000##FFFFFF
##2567981.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#405E97
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #256798;
/* rgb */ color: rgb(37, 103, 152);
/* oklch */ color: oklch(49.6% 0.102 244.7);
Tailwind
colors: {
  custom: {
    50: '#7092b6',
    500: '#256798',
    950: '#000000',
  },
}
SCSS
$custom: #256798;
$custom-light: #7092b6;
$custom-dark: #000000;
JSON
{
  "hex": "#256798",
  "rgb": {
    "r": 37,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 205.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.10233,
    "h": 244.7
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#256798
secondary
#BD855C
accent
#8844E4
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #256798

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

Preview Lab → · Contrast checker → · Palette generator →

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