#398FAB#398FAB

#398FAB is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.0% C 0.091 H 223.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#398FAB
RGBrgb(57, 143, 171)
HSLhsl(195, 50%, 45%)
HSVhsv(195, 67%, 67%)
CMYKcmyk(66.7%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.54, -16.72, -22.31)
CIE-LCHlch(55.54, 27.88, 233.15°)
OKLaboklab(60.99% -0.0669 -0.0623)
OKLCHoklch(60.99% 0.091 223)
XYZxyz(18.8575, 23.4530, 42.0532)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FAB #AB5539
analogous
#39AB8E #398FAB #3956AB
triadic
#398FAB #AB398F #8FAB39
tetradic
#398FAB #8E39AB #AB5539 #56AB39
square
#398FAB #8E39AB #AB5539 #56AB39
split-complementary
#398FAB #AB3956 #AB8E39
monochromatic
#1A424F #2A697D #398FAB #59ADC8 #87C4D7

Accessibility & contrast

On white

3.69
#398FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#398FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FAB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FAB#FFFFFF#000000##000000
##398FAB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAC
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398fab;
/* rgb */ color: rgb(57, 143, 171);
/* oklch */ color: oklch(61.0% 0.091 223.0);
Tailwind
colors: {
  custom: {
    50: '#7db0c4',
    500: '#398fab',
    950: '#000000',
  },
}
SCSS
$custom: #398fab;
$custom-light: #7db0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#398fab",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 194.737,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60988,
    "c": 0.09136,
    "h": 223
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#398FAB
secondary
#C18F7F
accent
#704EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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