#256F9D#256F9D

#256F9D is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.102 H 240.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#256F9D
RGBrgb(37, 111, 157)
HSLhsl(203, 62%, 38%)
HSVhsv(203, 76%, 62%)
CMYKcmyk(76.4%, 29.3%, 0%, 38.4%)
CIE-LABlab(44.51, -6.35, -31.32)
CIE-LCHlch(44.51, 31.95, 258.54°)
OKLaboklab(51.84% -0.05 -0.0886)
OKLCHoklch(51.84% 0.102 240.5)
XYZxyz(12.5308, 14.1950, 33.9713)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F9D #9D5325
analogous
#259D8F #256F9D #25339D
triadic
#256F9D #9D256F #6F9D25
tetradic
#256F9D #8F259D #9D5325 #339D25
square
#256F9D #8F259D #9D5325 #339D25
split-complementary
#256F9D #9D2533 #9D8F25
monochromatic
#0E293A #194C6B #256F9D #3192CE #62ACDA

Accessibility & contrast

On white

5.47
#256F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#256F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F9D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F9D#FFFFFF#000000##FFFFFF
##256F9D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59709F
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #256f9d;
/* rgb */ color: rgb(37, 111, 157);
/* oklch */ color: oklch(51.8% 0.102 240.5);
Tailwind
colors: {
  custom: {
    50: '#7198ba',
    500: '#256f9d',
    950: '#000000',
  },
}
SCSS
$custom: #256f9d;
$custom-light: #7198ba;
$custom-dark: #000000;
JSON
{
  "hex": "#256f9d",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 157
  },
  "hsl": {
    "h": 203,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.10173,
    "h": 240.5
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#256F9D
secondary
#BF845E
accent
#8143E5
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #256F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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