#398FB4#398FB4

#398FB4 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.099 H 229.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#398FB4
RGBrgb(57, 143, 180)
HSLhsl(198, 52%, 46%)
HSVhsv(198, 68%, 71%)
CMYKcmyk(68.3%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.89, -13.77, -26.90)
CIE-LCHlch(55.89, 30.22, 242.90°)
OKLaboklab(61.39% -0.0634 -0.0754)
OKLCHoklch(61.39% 0.099 229.9)
XYZxyz(19.7447, 23.8079, 46.7260)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB4 #B45E39
analogous
#39B49C #398FB4 #3952B4
triadic
#398FB4 #B4398F #8FB439
tetradic
#398FB4 #9C39B4 #B45E39 #52B439
square
#398FB4 #9C39B4 #B45E39 #52B439
split-complementary
#398FB4 #B43952 #B49C39
monochromatic
#1C4557 #2A6A86 #398FB4 #5EABCC #8DC3DB

Accessibility & contrast

On white

3.64
#398FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#398FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB4#FFFFFF#000000##000000
##398FB41.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB6
Deuteranopia (green-blind)
#6B81B3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb4;
/* rgb */ color: rgb(57, 143, 180);
/* oklch */ color: oklch(61.4% 0.099 229.9);
Tailwind
colors: {
  custom: {
    50: '#7eafca',
    500: '#398fb4',
    950: '#000000',
  },
}
SCSS
$custom: #398fb4;
$custom-light: #7eafca;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb4",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 198.049,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.09852,
    "h": 229.9
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#398FB4
secondary
#C59783
accent
#774CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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