#398CB1#398CB1

#398CB1 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.097 H 230.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#398CB1
RGBrgb(57, 140, 177)
HSLhsl(199, 51%, 46%)
HSVhsv(199, 68%, 69%)
CMYKcmyk(67.8%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.86, -13.10, -26.78)
CIE-LCHlch(54.86, 29.81, 243.93°)
OKLaboklab(60.53% -0.0614 -0.075)
OKLCHoklch(60.53% 0.097 230.7)
XYZxyz(18.9981, 22.7983, 44.9857)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CB1 #B15E39
analogous
#39B19A #398CB1 #3950B1
triadic
#398CB1 #B1398C #8CB139
tetradic
#398CB1 #9A39B1 #B15E39 #50B139
square
#398CB1 #9A39B1 #B15E39 #50B139
split-complementary
#398CB1 #B13950 #B19A39
monochromatic
#1B4354 #2A6783 #398CB1 #5DA9CB #8BC1DA

Accessibility & contrast

On white

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

On black

5.56
#398CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CB1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CB1#FFFFFF#000000##000000
##398CB11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398cb1;
/* rgb */ color: rgb(57, 140, 177);
/* oklch */ color: oklch(60.5% 0.097 230.7);
Tailwind
colors: {
  custom: {
    50: '#7dadc8',
    500: '#398cb1',
    950: '#000000',
  },
}
SCSS
$custom: #398cb1;
$custom-light: #7dadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#398cb1",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 198.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.09696,
    "h": 230.7
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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