#256AAF#256AAF

#256AAF is a mid, vivid cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.129 H 251.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#256AAF
RGBrgb(37, 106, 175)
HSLhsl(210, 65%, 42%)
HSVhsv(210, 79%, 69%)
CMYKcmyk(78.9%, 39.4%, 0%, 31.4%)
CIE-LABlab(43.94, 3.50, -42.81)
CIE-LCHlch(43.94, 42.96, 274.67°)
OKLaboklab(51.7% -0.0401 -0.1222)
OKLCHoklch(51.7% 0.129 251.8)
XYZxyz(13.6519, 13.7949, 42.4923)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256AAF #AF6A25
analogous
#25AFAF #256AAF #2525AF
triadic
#256AAF #AF256A #6AAF25
tetradic
#256AAF #AF25AF #AF6A25 #25AF25
square
#256AAF #AF25AF #AF6A25 #25AF25
split-complementary
#256AAF #AF2525 #AFAF25
monochromatic
#102D4A #1A4B7C #256AAF #3C89D6 #6EA7E0

Accessibility & contrast

On white

5.59
#256AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#256AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256AAF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256AAF#FFFFFF#000000##FFFFFF
##256AAF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #256aaf;
/* rgb */ color: rgb(37, 106, 175);
/* oklch */ color: oklch(51.7% 0.129 251.8);
Tailwind
colors: {
  custom: {
    50: '#7594c7',
    500: '#256aaf',
    950: '#000000',
  },
}
SCSS
$custom: #256aaf;
$custom-light: #7594c7;
$custom-dark: #000000;
JSON
{
  "hex": "#256aaf",
  "rgb": {
    "r": 37,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 210,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.517,
    "c": 0.12866,
    "h": 251.8
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#256AAF
secondary
#C79869
accent
#9440E8
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #256AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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