#398EAC#398EAC

#398EAC is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.092 H 224.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#398EAC
RGBrgb(57, 142, 172)
HSLhsl(196, 50%, 45%)
HSVhsv(196, 67%, 67%)
CMYKcmyk(66.9%, 17.4%, 0%, 32.5%)
CIE-LABlab(55.27, -15.85, -23.29)
CIE-LCHlch(55.27, 28.18, 235.76°)
OKLaboklab(60.79% -0.0654 -0.0651)
OKLCHoklch(60.79% 0.092 224.8)
XYZxyz(18.8037, 23.1924, 42.5073)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EAC #AC5739
analogous
#39AC90 #398EAC #3955AC
triadic
#398EAC #AC398E #8EAC39
tetradic
#398EAC #9039AC #AC5739 #55AC39
square
#398EAC #9039AC #AC5739 #55AC39
split-complementary
#398EAC #AC3955 #AC9039
monochromatic
#1B4250 #2A687E #398EAC #5AABC8 #88C3D8

Accessibility & contrast

On white

3.72
#398EAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#398EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EAC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EAC#FFFFFF#000000##000000
##398EAC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8BAE
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398eac;
/* rgb */ color: rgb(57, 142, 172);
/* oklch */ color: oklch(60.8% 0.092 224.8);
Tailwind
colors: {
  custom: {
    50: '#7dafc4',
    500: '#398eac',
    950: '#000000',
  },
}
SCSS
$custom: #398eac;
$custom-light: #7dafc4;
$custom-dark: #000000;
JSON
{
  "hex": "#398eac",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 172
  },
  "hsl": {
    "h": 195.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.09226,
    "h": 224.8
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#398EAC
secondary
#C2907F
accent
#734EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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