#256F9B#256F9B

#256F9B is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.099 H 239.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#256F9B
RGBrgb(37, 111, 155)
HSLhsl(202, 61%, 38%)
HSVhsv(202, 76%, 61%)
CMYKcmyk(76.1%, 28.4%, 0%, 39.2%)
CIE-LABlab(44.41, -7.08, -30.29)
CIE-LCHlch(44.41, 31.10, 256.84°)
OKLaboklab(51.73% -0.0507 -0.0856)
OKLCHoklch(51.73% 0.099 239.4)
XYZxyz(12.3615, 14.1273, 33.0793)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F9B #9B5125
analogous
#259B8C #256F9B #25349B
triadic
#256F9B #9B256F #6F9B25
tetradic
#256F9B #8C259B #9B5125 #349B25
square
#256F9B #8C259B #9B5125 #349B25
split-complementary
#256F9B #9B2534 #9B8C25
monochromatic
#0D2838 #194C6A #256F9B #3192CC #61ACD9

Accessibility & contrast

On white

5.49
#256F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#256F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F9B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F9B#FFFFFF#000000##FFFFFF
##256F9B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6F9D
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #256f9b;
/* rgb */ color: rgb(37, 111, 155);
/* oklch */ color: oklch(51.7% 0.099 239.4);
Tailwind
colors: {
  custom: {
    50: '#7198b8',
    500: '#256f9b',
    950: '#000000',
  },
}
SCSS
$custom: #256f9b;
$custom-light: #7198b8;
$custom-dark: #000000;
JSON
{
  "hex": "#256f9b",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 155
  },
  "hsl": {
    "h": 202.373,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.09948,
    "h": 239.4
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#256F9B
secondary
#BF825D
accent
#7F43E5
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #256F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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