#256397#256397

#256397 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.6% C 0.105 H 247.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#256397
RGBrgb(37, 99, 151)
HSLhsl(207, 61%, 37%)
HSVhsv(207, 75%, 59%)
CMYKcmyk(75.5%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.49, -1.26, -34.08)
CIE-LCHlch(40.49, 34.10, 267.88°)
OKLaboklab(48.57% -0.0401 -0.0968)
OKLCHoklch(48.57% 0.105 247.5)
XYZxyz(10.8086, 11.5501, 30.9319)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256397 #975925
analogous
#259792 #256397 #252A97
triadic
#256397 #972563 #639725
tetradic
#256397 #922597 #975925 #2A9725
square
#256397 #922597 #975925 #2A9725
split-complementary
#256397 #97252A #979225
monochromatic
#0D2335 #194366 #256397 #3183C8 #5FA1D8

Accessibility & contrast

On white

6.34
#256397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#256397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256397
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256397#FFFFFF#000000##FFFFFF
##2563971.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #256397;
/* rgb */ color: rgb(37, 99, 151);
/* oklch */ color: oklch(48.6% 0.105 247.5);
Tailwind
colors: {
  custom: {
    50: '#708fb6',
    500: '#256397',
    950: '#000000',
  },
}
SCSS
$custom: #256397;
$custom-light: #708fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#256397",
  "rgb": {
    "r": 37,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 207.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.10474,
    "h": 247.5
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#256397
secondary
#BD885B
accent
#8D44E4
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #256397

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

Preview Lab → · Contrast checker → · Palette generator →

#256397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva