#397EBB#397EBB

#397EBB is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.117 H 248.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#397EBB
RGBrgb(57, 126, 187)
HSLhsl(208, 53%, 48%)
HSVhsv(208, 70%, 73%)
CMYKcmyk(69.5%, 32.6%, 0%, 26.7%)
CIE-LABlab(51.13, -1.60, -38.35)
CIE-LCHlch(51.13, 38.38, 267.62°)
OKLaboklab(57.72% -0.0437 -0.1086)
OKLCHoklch(57.72% 0.117 248.1)
XYZxyz(18.1145, 19.3775, 49.7896)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EBB #BB7639
analogous
#39BBB7 #397EBB #393DBB
triadic
#397EBB #BB397E #7EBB39
tetradic
#397EBB #B739BB #BB7639 #3DBB39
square
#397EBB #B739BB #BB7639 #3DBB39
split-complementary
#397EBB #BB393D #BBB739
monochromatic
#1C3F5D #2B5E8C #397EBB #629CCF #91BADD

Accessibility & contrast

On white

4.31
#397EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#397EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EBB#FFFFFF#000000##000000
##397EBB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #397ebb;
/* rgb */ color: rgb(57, 126, 187);
/* oklch */ color: oklch(57.7% 0.117 248.1);
Tailwind
colors: {
  custom: {
    50: '#7ea3d0',
    500: '#397ebb',
    950: '#000000',
  },
}
SCSS
$custom: #397ebb;
$custom-light: #7ea3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#397ebb",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 187
  },
  "hsl": {
    "h": 208.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.11712,
    "h": 248.1
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#397EBB
secondary
#C8A687
accent
#8F4BDD
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #397EBB

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

Preview Lab → · Contrast checker → · Palette generator →

#397EBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva