#398AAC#398AAC

#398AAC is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.093 H 229.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#398AAC
RGBrgb(57, 138, 172)
HSLhsl(198, 50%, 45%)
HSVhsv(198, 67%, 67%)
CMYKcmyk(66.9%, 19.8%, 0%, 32.5%)
CIE-LABlab(54.05, -13.65, -25.17)
CIE-LCHlch(54.05, 28.63, 241.52°)
OKLaboklab(59.82% -0.0612 -0.0704)
OKLCHoklch(59.82% 0.093 229)
XYZxyz(18.2193, 22.0234, 42.3125)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AAC #AC5B39
analogous
#39AC94 #398AAC #3951AC
triadic
#398AAC #AC398A #8AAC39
tetradic
#398AAC #9439AC #AC5B39 #51AC39
square
#398AAC #9439AC #AC5B39 #51AC39
split-complementary
#398AAC #AC3951 #AC9439
monochromatic
#1B4050 #2A657E #398AAC #5AA8C8 #88C0D8

Accessibility & contrast

On white

3.89
#398AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#398AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AAC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AAC#FFFFFF#000000##000000
##398AAC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AE
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398aac;
/* rgb */ color: rgb(57, 138, 172);
/* oklch */ color: oklch(59.8% 0.093 229.0);
Tailwind
colors: {
  custom: {
    50: '#7cacc4',
    500: '#398aac',
    950: '#000000',
  },
}
SCSS
$custom: #398aac;
$custom-light: #7cacc4;
$custom-dark: #000000;
JSON
{
  "hex": "#398aac",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 172
  },
  "hsl": {
    "h": 197.739,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.09329,
    "h": 229
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#398AAC
secondary
#C2937F
accent
#774EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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