#398DB3#398DB3

#398DB3 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.9% C 0.098 H 231.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#398DB3
RGBrgb(57, 141, 179)
HSLhsl(199, 52%, 46%)
HSVhsv(199, 68%, 70%)
CMYKcmyk(68.2%, 21.2%, 0%, 29.8%)
CIE-LABlab(55.25, -12.99, -27.33)
CIE-LCHlch(55.25, 30.26, 244.57°)
OKLaboklab(60.87% -0.0617 -0.0766)
OKLCHoklch(60.87% 0.098 231.1)
XYZxyz(19.3457, 23.1722, 46.0922)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DB3 #B35F39
analogous
#39B39C #398DB3 #3950B3
triadic
#398DB3 #B3398D #8DB339
tetradic
#398DB3 #9C39B3 #B35F39 #50B339
square
#398DB3 #9C39B3 #B35F39 #50B339
split-complementary
#398DB3 #B33950 #B39C39
monochromatic
#1B4456 #2A6885 #398DB3 #5EA9CC #8CC2DA

Accessibility & contrast

On white

3.73
#398DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#398DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DB3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DB3#FFFFFF#000000##000000
##398DB31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB5
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398db3;
/* rgb */ color: rgb(57, 141, 179);
/* oklch */ color: oklch(60.9% 0.098 231.1);
Tailwind
colors: {
  custom: {
    50: '#7eaeca',
    500: '#398db3',
    950: '#000000',
  },
}
SCSS
$custom: #398db3;
$custom-light: #7eaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#398db3",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 198.689,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.09839,
    "h": 231.1
  },
  "luminance": 0.23174
}

Semantic roles & 50–950 ramp

primary
#398DB3
secondary
#C59783
accent
#794DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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