#398FB8#398FB8

#398FB8 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.6% C 0.102 H 232.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#398FB8
RGBrgb(57, 143, 184)
HSLhsl(199, 53%, 47%)
HSVhsv(199, 69%, 72%)
CMYKcmyk(69%, 22.3%, 0%, 27.8%)
CIE-LABlab(56.06, -12.43, -28.92)
CIE-LCHlch(56.06, 31.48, 246.74°)
OKLaboklab(61.58% -0.062 -0.0812)
OKLCHoklch(61.58% 0.102 232.6)
XYZxyz(20.1581, 23.9733, 48.9030)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB8 #B86239
analogous
#39B8A2 #398FB8 #3950B8
triadic
#398FB8 #B8398F #8FB839
tetradic
#398FB8 #A239B8 #B86239 #50B839
square
#398FB8 #A239B8 #B86239 #50B839
split-complementary
#398FB8 #B83950 #B8A239
monochromatic
#1C465B #2B6B89 #398FB8 #60ABCE #8FC3DC

Accessibility & contrast

On white

3.62
#398FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#398FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB8#FFFFFF#000000##000000
##398FB81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DBA
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb8;
/* rgb */ color: rgb(57, 143, 184);
/* oklch */ color: oklch(61.6% 0.102 232.6);
Tailwind
colors: {
  custom: {
    50: '#7eafcd',
    500: '#398fb8',
    950: '#000000',
  },
}
SCSS
$custom: #398fb8;
$custom-light: #7eafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb8",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 199.37,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.10214,
    "h": 232.6
  },
  "luminance": 0.23975
}

Semantic roles & 50–950 ramp

primary
#398FB8
secondary
#C79B86
accent
#7A4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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