#256FAF#256FAF

#256FAF is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.123 H 248.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#256FAF
RGBrgb(37, 111, 175)
HSLhsl(208, 65%, 42%)
HSVhsv(208, 79%, 69%)
CMYKcmyk(78.9%, 36.6%, 0%, 31.4%)
CIE-LABlab(45.44, 0.39, -40.43)
CIE-LCHlch(45.44, 40.44, 270.55°)
OKLaboklab(52.87% -0.0446 -0.1152)
OKLCHoklch(52.87% 0.124 248.8)
XYZxyz(14.1823, 14.8556, 42.6691)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256FAF #AF6525
analogous
#25AFAA #256FAF #252AAF
triadic
#256FAF #AF256F #6FAF25
tetradic
#256FAF #AA25AF #AF6525 #2AAF25
square
#256FAF #AA25AF #AF6525 #2AAF25
split-complementary
#256FAF #AF252A #AFAA25
monochromatic
#102F4A #1A4F7C #256FAF #3C8ED6 #6EABE0

Accessibility & contrast

On white

5.29
#256FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#256FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256FAF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256FAF#FFFFFF#000000##FFFFFF
##256FAF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #256faf;
/* rgb */ color: rgb(37, 111, 175);
/* oklch */ color: oklch(52.9% 0.123 248.8);
Tailwind
colors: {
  custom: {
    50: '#7597c7',
    500: '#256faf',
    950: '#000000',
  },
}
SCSS
$custom: #256faf;
$custom-light: #7597c7;
$custom-dark: #000000;
JSON
{
  "hex": "#256faf",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 207.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.1235,
    "h": 248.8
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#256FAF
secondary
#C79469
accent
#8E40E8
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #256FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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