#398FB5#398FB5

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

Color values

HEX#398FB5
RGBrgb(57, 143, 181)
HSLhsl(198, 52%, 47%)
HSVhsv(198, 69%, 71%)
CMYKcmyk(68.5%, 21%, 0%, 29%)
CIE-LABlab(55.94, -13.43, -27.41)
CIE-LCHlch(55.94, 30.52, 243.89°)
OKLaboklab(61.44% -0.0631 -0.0768)
OKLCHoklch(61.44% 0.099 230.6)
XYZxyz(19.8470, 23.8488, 47.2644)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB5 #B55F39
analogous
#39B59D #398FB5 #3951B5
triadic
#398FB5 #B5398F #8FB539
tetradic
#398FB5 #9D39B5 #B55F39 #51B539
square
#398FB5 #9D39B5 #B55F39 #51B539
split-complementary
#398FB5 #B53951 #B59D39
monochromatic
#1C4558 #2A6A86 #398FB5 #5FABCD #8DC3DB

Accessibility & contrast

On white

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

On black

5.77
#398FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB5#FFFFFF#000000##000000
##398FB51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB7
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb5;
/* rgb */ color: rgb(57, 143, 181);
/* oklch */ color: oklch(61.4% 0.099 230.6);
Tailwind
colors: {
  custom: {
    50: '#7eafcb',
    500: '#398fb5',
    950: '#000000',
  },
}
SCSS
$custom: #398fb5;
$custom-light: #7eafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb5",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 198.387,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.09939,
    "h": 230.6
  },
  "luminance": 0.23851
}

Semantic roles & 50–950 ramp

primary
#398FB5
secondary
#C69884
accent
#784CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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