#398EB7#398EB7

#398EB7 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.3% C 0.102 H 232.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#398EB7
RGBrgb(57, 142, 183)
HSLhsl(200, 53%, 47%)
HSVhsv(200, 69%, 72%)
CMYKcmyk(68.9%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.72, -12.21, -28.88)
CIE-LCHlch(55.72, 31.36, 247.08°)
OKLaboklab(61.29% -0.0613 -0.0811)
OKLCHoklch(61.29% 0.102 232.9)
XYZxyz(19.9042, 23.6326, 48.3031)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB7 #B76239
analogous
#39B7A1 #398EB7 #394FB7
triadic
#398EB7 #B7398E #8EB739
tetradic
#398EB7 #A139B7 #B76239 #4FB739
square
#398EB7 #A139B7 #B76239 #4FB739
split-complementary
#398EB7 #B7394F #B7A139
monochromatic
#1C465A #2A6A88 #398EB7 #60AACD #8EC3DC

Accessibility & contrast

On white

3.67
#398EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#398EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EB7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EB7#FFFFFF#000000##000000
##398EB71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DB9
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eb7;
/* rgb */ color: rgb(57, 142, 183);
/* oklch */ color: oklch(61.3% 0.102 232.9);
Tailwind
colors: {
  custom: {
    50: '#7eafcc',
    500: '#398eb7',
    950: '#000000',
  },
}
SCSS
$custom: #398eb7;
$custom-light: #7eafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb7",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 199.524,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.10164,
    "h": 232.9
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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