#256F8D#256F8D

#256F8D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.0% C 0.085 H 229.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#256F8D
RGBrgb(37, 111, 141)
HSLhsl(197, 58%, 35%)
HSVhsv(197, 74%, 55%)
CMYKcmyk(73.8%, 21.3%, 0%, 44.7%)
CIE-LABlab(43.78, -12.14, -22.96)
CIE-LCHlch(43.78, 25.97, 242.14°)
OKLaboklab(51.02% -0.0558 -0.0644)
OKLCHoklch(51.02% 0.085 229.1)
XYZxyz(11.2532, 13.6840, 27.2423)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F8D #8D4325
analogous
#258D77 #256F8D #253B8D
triadic
#256F8D #8D256F #6F8D25
tetradic
#256F8D #77258D #8D4325 #3B8D25
square
#256F8D #77258D #8D4325 #3B8D25
split-complementary
#256F8D #8D253B #8D7725
monochromatic
#0C232C #18495D #256F8D #3295BD #59B0D3

Accessibility & contrast

On white

5.62
#256F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#256F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F8D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F8D#FFFFFF#000000##FFFFFF
##256F8D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8E
Deuteranopia (green-blind)
#51638D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #256f8d;
/* rgb */ color: rgb(37, 111, 141);
/* oklch */ color: oklch(51.0% 0.085 229.1);
Tailwind
colors: {
  custom: {
    50: '#6e98ae',
    500: '#256f8d',
    950: '#000000',
  },
}
SCSS
$custom: #256f8d;
$custom-light: #6e98ae;
$custom-dark: #000000;
JSON
{
  "hex": "#256f8d",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 197.308,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.08522,
    "h": 229.1
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#256F8D
secondary
#B87256
accent
#7346E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #256F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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