#398EAF#398EAF

#398EAF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.095 H 227.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#398EAF
RGBrgb(57, 142, 175)
HSLhsl(197, 51%, 45%)
HSVhsv(197, 67%, 69%)
CMYKcmyk(67.4%, 18.9%, 0%, 31.4%)
CIE-LABlab(55.39, -14.87, -24.83)
CIE-LCHlch(55.39, 28.94, 239.08°)
OKLaboklab(60.92% -0.0643 -0.0694)
OKLCHoklch(60.92% 0.095 227.2)
XYZxyz(19.0951, 23.3089, 44.0419)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EAF #AF5A39
analogous
#39AF95 #398EAF #3953AF
triadic
#398EAF #AF398E #8EAF39
tetradic
#398EAF #9539AF #AF5A39 #53AF39
square
#398EAF #9539AF #AF5A39 #53AF39
split-complementary
#398EAF #AF3953 #AF9539
monochromatic
#1B4353 #2A6981 #398EAF #5BABCA #8AC3D9

Accessibility & contrast

On white

3.71
#398EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#398EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EAF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EAF#FFFFFF#000000##000000
##398EAF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eaf;
/* rgb */ color: rgb(57, 142, 175);
/* oklch */ color: oklch(60.9% 0.095 227.2);
Tailwind
colors: {
  custom: {
    50: '#7dafc7',
    500: '#398eaf',
    950: '#000000',
  },
}
SCSS
$custom: #398eaf;
$custom-light: #7dafc7;
$custom-dark: #000000;
JSON
{
  "hex": "#398eaf",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 196.78,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.09461,
    "h": 227.2
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#398EAF
secondary
#C39381
accent
#754DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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