#398DB4#398DB4

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

Color values

HEX#398DB4
RGBrgb(57, 141, 180)
HSLhsl(199, 52%, 46%)
HSVhsv(199, 68%, 71%)
CMYKcmyk(68.3%, 21.7%, 0%, 29.4%)
CIE-LABlab(55.29, -12.66, -27.83)
CIE-LCHlch(55.29, 30.58, 245.54°)
OKLaboklab(60.91% -0.0614 -0.0781)
OKLCHoklch(60.91% 0.099 231.8)
XYZxyz(19.4472, 23.2128, 46.6268)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DB4 #B46039
analogous
#39B49E #398DB4 #3950B4
triadic
#398DB4 #B4398D #8DB439
tetradic
#398DB4 #9E39B4 #B46039 #50B439
square
#398DB4 #9E39B4 #B46039 #50B439
split-complementary
#398DB4 #B43950 #B49E39
monochromatic
#1C4457 #2A6986 #398DB4 #5EA9CC #8DC2DB

Accessibility & contrast

On white

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

On black

5.64
#398DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DB4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DB4#FFFFFF#000000##000000
##398DB41.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB6
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398db4;
/* rgb */ color: rgb(57, 141, 180);
/* oklch */ color: oklch(60.9% 0.099 231.8);
Tailwind
colors: {
  custom: {
    50: '#7eaeca',
    500: '#398db4',
    950: '#000000',
  },
}
SCSS
$custom: #398db4;
$custom-light: #7eaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#398db4",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 199.024,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.09929,
    "h": 231.8
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#398DB4
secondary
#C59883
accent
#7A4CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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