#398BB5#398BB5

#398BB5 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.101 H 234.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#398BB5
RGBrgb(57, 139, 181)
HSLhsl(200, 52%, 47%)
HSVhsv(200, 69%, 71%)
CMYKcmyk(68.5%, 23.2%, 0%, 29%)
CIE-LABlab(54.73, -11.20, -29.27)
CIE-LCHlch(54.73, 31.35, 249.06°)
OKLaboklab(60.48% -0.0589 -0.0822)
OKLCHoklch(60.48% 0.101 234.4)
XYZxyz(19.2572, 22.6692, 47.0678)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB5 #B56339
analogous
#39B5A1 #398BB5 #394DB5
triadic
#398BB5 #B5398B #8BB539
tetradic
#398BB5 #A139B5 #B56339 #4DB539
square
#398BB5 #A139B5 #B56339 #4DB539
split-complementary
#398BB5 #B5394D #B5A139
monochromatic
#1C4458 #2A6786 #398BB5 #5FA7CD #8DC1DB

Accessibility & contrast

On white

3.79
#398BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#398BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB5#FFFFFF#000000##000000
##398BB51.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb5;
/* rgb */ color: rgb(57, 139, 181);
/* oklch */ color: oklch(60.5% 0.101 234.4);
Tailwind
colors: {
  custom: {
    50: '#7eaccb',
    500: '#398bb5',
    950: '#000000',
  },
}
SCSS
$custom: #398bb5;
$custom-light: #7eaccb;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb5",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 200.323,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.10116,
    "h": 234.4
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#398BB5
secondary
#C69A84
accent
#7D4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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