#398BB7#398BB7

#398BB7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.103 H 235.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#398BB7
RGBrgb(57, 139, 183)
HSLhsl(201, 53%, 47%)
HSVhsv(201, 69%, 72%)
CMYKcmyk(68.9%, 24%, 0%, 28.2%)
CIE-LABlab(54.82, -10.53, -30.28)
CIE-LCHlch(54.82, 32.06, 250.83°)
OKLaboklab(60.58% -0.0582 -0.0851)
OKLCHoklch(60.58% 0.103 235.6)
XYZxyz(19.4639, 22.7519, 48.1563)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB7 #B76539
analogous
#39B7A4 #398BB7 #394CB7
triadic
#398BB7 #B7398B #8BB739
tetradic
#398BB7 #A439B7 #B76539 #4CB739
square
#398BB7 #A439B7 #B76539 #4CB739
split-complementary
#398BB7 #B7394C #B7A439
monochromatic
#1C445A #2A6888 #398BB7 #60A7CD #8EC1DC

Accessibility & contrast

On white

3.78
#398BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#398BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB7#FFFFFF#000000##000000
##398BB71.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB9
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb7;
/* rgb */ color: rgb(57, 139, 183);
/* oklch */ color: oklch(60.6% 0.103 235.6);
Tailwind
colors: {
  custom: {
    50: '#7eaccc',
    500: '#398bb7',
    950: '#000000',
  },
}
SCSS
$custom: #398bb7;
$custom-light: #7eaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb7",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 200.952,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.10314,
    "h": 235.6
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#398BB7
secondary
#C79C85
accent
#7E4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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