#398BAC#398BAC

#398BAC is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.093 H 228.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#398BAC
RGBrgb(57, 139, 172)
HSLhsl(197, 50%, 45%)
HSVhsv(197, 67%, 67%)
CMYKcmyk(66.9%, 19.2%, 0%, 32.5%)
CIE-LABlab(54.36, -14.21, -24.70)
CIE-LCHlch(54.36, 28.49, 240.09°)
OKLaboklab(60.06% -0.0622 -0.0691)
OKLCHoklch(60.06% 0.093 228)
XYZxyz(18.3634, 22.3117, 42.3605)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BAC #AC5A39
analogous
#39AC93 #398BAC #3952AC
triadic
#398BAC #AC398B #8BAC39
tetradic
#398BAC #9339AC #AC5A39 #52AC39
square
#398BAC #9339AC #AC5A39 #52AC39
split-complementary
#398BAC #AC3952 #AC9339
monochromatic
#1B4150 #2A667E #398BAC #5AA9C8 #88C1D8

Accessibility & contrast

On white

3.84
#398BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#398BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BAC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BAC#FFFFFF#000000##000000
##398BAC1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A89AE
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398bac;
/* rgb */ color: rgb(57, 139, 172);
/* oklch */ color: oklch(60.1% 0.093 228.0);
Tailwind
colors: {
  custom: {
    50: '#7dadc4',
    500: '#398bac',
    950: '#000000',
  },
}
SCSS
$custom: #398bac;
$custom-light: #7dadc4;
$custom-dark: #000000;
JSON
{
  "hex": "#398bac",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 197.217,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.09298,
    "h": 228
  },
  "luminance": 0.22314
}

Semantic roles & 50–950 ramp

primary
#398BAC
secondary
#C2927F
accent
#764EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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