#256D8A#256D8A

#256D8A is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.4% C 0.083 H 228.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#256D8A
RGBrgb(37, 109, 138)
HSLhsl(197, 58%, 34%)
HSVhsv(197, 73%, 54%)
CMYKcmyk(73.2%, 21%, 0%, 45.9%)
CIE-LABlab(43.01, -12.05, -22.36)
CIE-LCHlch(43.01, 25.40, 241.68°)
OKLaboklab(50.36% -0.0548 -0.0627)
OKLCHoklch(50.36% 0.083 228.8)
XYZxyz(10.8172, 13.1643, 26.0107)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256D8A #8A4225
analogous
#258A75 #256D8A #253B8A
triadic
#256D8A #8A256D #6D8A25
tetradic
#256D8A #75258A #8A4225 #3B8A25
square
#256D8A #75258A #8A4225 #3B8A25
split-complementary
#256D8A #8A253B #8A7525
monochromatic
#0B2129 #18475A #256D8A #3293BA #57AFD2

Accessibility & contrast

On white

5.78
#256D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#256D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256D8A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256D8A#FFFFFF#000000##FFFFFF
##256D8A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8B
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #256d8a;
/* rgb */ color: rgb(37, 109, 138);
/* oklch */ color: oklch(50.4% 0.083 228.8);
Tailwind
colors: {
  custom: {
    50: '#6e96ac',
    500: '#256d8a',
    950: '#000000',
  },
}
SCSS
$custom: #256d8a;
$custom-light: #6e96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#256d8a",
  "rgb": {
    "r": 37,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 197.228,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.08329,
    "h": 228.8
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#256D8A
secondary
#B77054
accent
#7347E1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #256D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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