#398FB7#398FB7

#398FB7 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.101 H 232.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#398FB7
RGBrgb(57, 143, 183)
HSLhsl(199, 53%, 47%)
HSVhsv(199, 69%, 72%)
CMYKcmyk(68.9%, 21.9%, 0%, 28.2%)
CIE-LABlab(56.02, -12.77, -28.42)
CIE-LCHlch(56.02, 31.15, 245.81°)
OKLaboklab(61.53% -0.0623 -0.0797)
OKLCHoklch(61.53% 0.101 232)
XYZxyz(20.0537, 23.9315, 48.3529)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB7 #B76139
analogous
#39B7A0 #398FB7 #3950B7
triadic
#398FB7 #B7398F #8FB739
tetradic
#398FB7 #A039B7 #B76139 #50B739
square
#398FB7 #A039B7 #B76139 #50B739
split-complementary
#398FB7 #B73950 #B7A039
monochromatic
#1C465A #2A6B88 #398FB7 #60ABCD #8EC3DC

Accessibility & contrast

On white

3.63
#398FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#398FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB7#FFFFFF#000000##000000
##398FB71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb7;
/* rgb */ color: rgb(57, 143, 183);
/* oklch */ color: oklch(61.5% 0.101 232.0);
Tailwind
colors: {
  custom: {
    50: '#7eafcc',
    500: '#398fb7',
    950: '#000000',
  },
}
SCSS
$custom: #398fb7;
$custom-light: #7eafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb7",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 199.048,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.10121,
    "h": 232
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#398FB7
secondary
#C79A85
accent
#7A4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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