#398CAF#398CAF

#398CAF is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.095 H 229.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#398CAF
RGBrgb(57, 140, 175)
HSLhsl(198, 51%, 45%)
HSVhsv(198, 67%, 69%)
CMYKcmyk(67.4%, 20%, 0%, 31.4%)
CIE-LABlab(54.78, -13.77, -25.76)
CIE-LCHlch(54.78, 29.21, 241.88°)
OKLaboklab(60.44% -0.0621 -0.0721)
OKLCHoklch(60.44% 0.095 229.3)
XYZxyz(18.8002, 22.7191, 43.9436)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CAF #AF5C39
analogous
#39AF97 #398CAF #3951AF
triadic
#398CAF #AF398C #8CAF39
tetradic
#398CAF #9739AF #AF5C39 #51AF39
square
#398CAF #9739AF #AF5C39 #51AF39
split-complementary
#398CAF #AF3951 #AF9739
monochromatic
#1B4253 #2A6781 #398CAF #5BA9CA #8AC1D9

Accessibility & contrast

On white

3.79
#398CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#398CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CAF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CAF#FFFFFF#000000##000000
##398CAF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398caf;
/* rgb */ color: rgb(57, 140, 175);
/* oklch */ color: oklch(60.4% 0.095 229.3);
Tailwind
colors: {
  custom: {
    50: '#7dadc7',
    500: '#398caf',
    950: '#000000',
  },
}
SCSS
$custom: #398caf;
$custom-light: #7dadc7;
$custom-dark: #000000;
JSON
{
  "hex": "#398caf",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 197.797,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.09521,
    "h": 229.3
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#398CAF
secondary
#C39481
accent
#774DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398CAF

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

Preview Lab → · Contrast checker → · Palette generator →

#398CAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva