#397895#397895

#397895 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.079 H 230.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#397895
RGBrgb(57, 120, 149)
HSLhsl(199, 45%, 40%)
HSVhsv(199, 62%, 58%)
CMYKcmyk(61.7%, 19.5%, 0%, 41.6%)
CIE-LABlab(47.59, -11.12, -21.77)
CIE-LCHlch(47.59, 24.44, 242.94°)
OKLaboklab(54.35% -0.0501 -0.0608)
OKLCHoklch(54.35% 0.079 230.5)
XYZxyz(13.8265, 16.4714, 30.8786)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397895 #955639
analogous
#399584 #397895 #394A95
triadic
#397895 #953978 #789539
tetradic
#397895 #843995 #955639 #4A9539
square
#397895 #843995 #955639 #4A9539
split-complementary
#397895 #95394A #958439
monochromatic
#17313C #285469 #397895 #4F9ABC #7CB3CD

Accessibility & contrast

On white

4.89
#397895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#397895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397895
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397895#FFFFFF#000000##FFFFFF
##3978951.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397895;
/* rgb */ color: rgb(57, 120, 149);
/* oklch */ color: oklch(54.3% 0.079 230.5);
Tailwind
colors: {
  custom: {
    50: '#789fb4',
    500: '#397895',
    950: '#000000',
  },
}
SCSS
$custom: #397895;
$custom-light: #789fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#397895",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 198.913,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.07875,
    "h": 230.5
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#397895
secondary
#B68974
accent
#7C53D4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397895

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

Preview Lab → · Contrast checker → · Palette generator →

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