#398EB4#398EB4

#398EB4 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.2% C 0.099 H 230.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#398EB4
RGBrgb(57, 142, 180)
HSLhsl(199, 52%, 46%)
HSVhsv(199, 68%, 71%)
CMYKcmyk(68.3%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.59, -13.21, -27.37)
CIE-LCHlch(55.59, 30.39, 244.23°)
OKLaboklab(61.15% -0.0624 -0.0767)
OKLCHoklch(61.15% 0.099 230.9)
XYZxyz(19.5953, 23.5090, 46.6761)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB4 #B45F39
analogous
#39B49D #398EB4 #3950B4
triadic
#398EB4 #B4398E #8EB439
tetradic
#398EB4 #9D39B4 #B45F39 #50B439
square
#398EB4 #9D39B4 #B45F39 #50B439
split-complementary
#398EB4 #B43950 #B49D39
monochromatic
#1C4557 #2A6986 #398EB4 #5EAACC #8DC3DB

Accessibility & contrast

On white

3.68
#398EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#398EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EB4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EB4#FFFFFF#000000##000000
##398EB41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB6
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eb4;
/* rgb */ color: rgb(57, 142, 180);
/* oklch */ color: oklch(61.2% 0.099 230.9);
Tailwind
colors: {
  custom: {
    50: '#7eafca',
    500: '#398eb4',
    950: '#000000',
  },
}
SCSS
$custom: #398eb4;
$custom-light: #7eafca;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb4",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 198.537,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.09889,
    "h": 230.9
  },
  "luminance": 0.23511
}

Semantic roles & 50–950 ramp

primary
#398EB4
secondary
#C59883
accent
#794CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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