#398DB5#398DB5

#398DB5 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.100 H 232.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#398DB5
RGBrgb(57, 141, 181)
HSLhsl(199, 52%, 47%)
HSVhsv(199, 69%, 71%)
CMYKcmyk(68.5%, 22.1%, 0%, 29%)
CIE-LABlab(55.33, -12.32, -28.34)
CIE-LCHlch(55.33, 30.90, 246.50°)
OKLaboklab(60.96% -0.061 -0.0795)
OKLCHoklch(60.96% 0.1 232.5)
XYZxyz(19.5494, 23.2537, 47.1652)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DB5 #B56139
analogous
#39B59F #398DB5 #394FB5
triadic
#398DB5 #B5398D #8DB539
tetradic
#398DB5 #9F39B5 #B56139 #4FB539
square
#398DB5 #9F39B5 #B56139 #4FB539
split-complementary
#398DB5 #B5394F #B59F39
monochromatic
#1C4458 #2A6986 #398DB5 #5FA9CD #8DC2DB

Accessibility & contrast

On white

3.72
#398DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#398DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DB5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DB5#FFFFFF#000000##000000
##398DB51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB7
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398db5;
/* rgb */ color: rgb(57, 141, 181);
/* oklch */ color: oklch(61.0% 0.100 232.5);
Tailwind
colors: {
  custom: {
    50: '#7eaecb',
    500: '#398db5',
    950: '#000000',
  },
}
SCSS
$custom: #398db5;
$custom-light: #7eaecb;
$custom-dark: #000000;
JSON
{
  "hex": "#398db5",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 199.355,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.10022,
    "h": 232.5
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#398DB5
secondary
#C69984
accent
#7A4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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