#398EB5#398EB5

#398EB5 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.100 H 231.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#398EB5
RGBrgb(57, 142, 181)
HSLhsl(199, 52%, 47%)
HSVhsv(199, 69%, 71%)
CMYKcmyk(68.5%, 21.5%, 0%, 29%)
CIE-LABlab(55.63, -12.88, -27.87)
CIE-LCHlch(55.63, 30.70, 245.20°)
OKLaboklab(61.2% -0.062 -0.0782)
OKLCHoklch(61.2% 0.1 231.6)
XYZxyz(19.6975, 23.5499, 47.2146)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB5 #B56039
analogous
#39B59E #398EB5 #3950B5
triadic
#398EB5 #B5398E #8EB539
tetradic
#398EB5 #9E39B5 #B56039 #50B539
square
#398EB5 #9E39B5 #B56039 #50B539
split-complementary
#398EB5 #B53950 #B59E39
monochromatic
#1C4558 #2A6986 #398EB5 #5FAACD #8DC3DB

Accessibility & contrast

On white

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

On black

5.71
#398EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EB5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EB5#FFFFFF#000000##000000
##398EB51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eb5;
/* rgb */ color: rgb(57, 142, 181);
/* oklch */ color: oklch(61.2% 0.100 231.6);
Tailwind
colors: {
  custom: {
    50: '#7eafcb',
    500: '#398eb5',
    950: '#000000',
  },
}
SCSS
$custom: #398eb5;
$custom-light: #7eafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb5",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 198.871,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.0998,
    "h": 231.6
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#398EB5
secondary
#C69984
accent
#794CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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