#256FA2#256FA2

#256FA2 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.108 H 243.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#256FA2
RGBrgb(37, 111, 162)
HSLhsl(204, 63%, 39%)
HSVhsv(204, 77%, 64%)
CMYKcmyk(77.2%, 31.5%, 0%, 36.5%)
CIE-LABlab(44.76, -4.49, -33.88)
CIE-LCHlch(44.76, 34.18, 262.44°)
OKLaboklab(52.12% -0.0484 -0.096)
OKLCHoklch(52.12% 0.108 243.2)
XYZxyz(12.9664, 14.3693, 36.2656)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256FA2 #A25825
analogous
#25A297 #256FA2 #2531A2
triadic
#256FA2 #A2256F #6FA225
tetradic
#256FA2 #9725A2 #A25825 #31A225
square
#256FA2 #9725A2 #A25825 #31A225
split-complementary
#256FA2 #A22531 #A29725
monochromatic
#0E2B3E #1A4D70 #256FA2 #3491D1 #65ACDC

Accessibility & contrast

On white

5.42
#256FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#256FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256FA2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256FA2#FFFFFF#000000##FFFFFF
##256FA21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #256fa2;
/* rgb */ color: rgb(37, 111, 162);
/* oklch */ color: oklch(52.1% 0.108 243.2);
Tailwind
colors: {
  custom: {
    50: '#7298be',
    500: '#256fa2',
    950: '#000000',
  },
}
SCSS
$custom: #256fa2;
$custom-light: #7298be;
$custom-dark: #000000;
JSON
{
  "hex": "#256fa2",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 204.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.10755,
    "h": 243.2
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#256FA2
secondary
#C28961
accent
#8542E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #256FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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