#398CB3#398CB3

#398CB3 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.099 H 232.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#398CB3
RGBrgb(57, 140, 179)
HSLhsl(199, 52%, 46%)
HSVhsv(199, 68%, 70%)
CMYKcmyk(68.2%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.95, -12.44, -27.80)
CIE-LCHlch(54.95, 30.45, 245.90°)
OKLaboklab(60.62% -0.0607 -0.078)
OKLCHoklch(60.62% 0.099 232.1)
XYZxyz(19.1989, 22.8786, 46.0433)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CB3 #B36039
analogous
#39B39D #398CB3 #394FB3
triadic
#398CB3 #B3398C #8CB339
tetradic
#398CB3 #9D39B3 #B36039 #4FB339
square
#398CB3 #9D39B3 #B36039 #4FB339
split-complementary
#398CB3 #B3394F #B39D39
monochromatic
#1B4356 #2A6885 #398CB3 #5EA8CC #8CC1DA

Accessibility & contrast

On white

3.77
#398CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#398CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CB3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CB3#FFFFFF#000000##000000
##398CB31.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB5
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398cb3;
/* rgb */ color: rgb(57, 140, 179);
/* oklch */ color: oklch(60.6% 0.099 232.1);
Tailwind
colors: {
  custom: {
    50: '#7eadca',
    500: '#398cb3',
    950: '#000000',
  },
}
SCSS
$custom: #398cb3;
$custom-light: #7eadca;
$custom-dark: #000000;
JSON
{
  "hex": "#398cb3",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 199.18,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.09879,
    "h": 232.1
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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