#397BDA#397BDA

#397BDA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.160 H 257.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397BDA
RGBrgb(57, 123, 218)
HSLhsl(215, 69%, 54%)
HSVhsv(215, 74%, 85%)
CMYKcmyk(73.9%, 43.6%, 0%, 14.5%)
CIE-LABlab(51.94, 11.41, -54.70)
CIE-LCHlch(51.94, 55.87, 281.78°)
OKLaboklab(58.9% -0.0336 -0.1566)
OKLCHoklch(58.9% 0.16 257.9)
XYZxyz(21.4206, 20.0953, 69.0659)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BDA #DA9839
analogous
#39CCDA #397BDA #4839DA
triadic
#397BDA #DA397B #7BDA39
tetradic
#397BDA #DA39CC #DA9839 #39DA48
square
#397BDA #DA39CC #DA9839 #39DA48
split-complementary
#397BDA #DA4839 #CCDA39
monochromatic
#184381 #225EB4 #397BDA #6D9DE4 #A0C0ED

Accessibility & contrast

On white

4.18
#397BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#397BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BDA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BDA#FFFFFF#000000##000000
##397BDA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397bda;
/* rgb */ color: rgb(57, 123, 218);
/* oklch */ color: oklch(58.9% 0.160 257.9);
Tailwind
colors: {
  custom: {
    50: '#84a0e6',
    500: '#397bda',
    950: '#000000',
  },
}
SCSS
$custom: #397bda;
$custom-light: #84a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#397bda",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 215.404,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.16016,
    "h": 257.9
  },
  "luminance": 0.20098
}

Semantic roles & 50–950 ramp

primary
#397BDA
secondary
#DABE95
accent
#A43CEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #397BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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