#398EB6#398EB6

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

Color values

HEX#398EB6
RGBrgb(57, 142, 182)
HSLhsl(199, 52%, 47%)
HSVhsv(199, 69%, 71%)
CMYKcmyk(68.7%, 22%, 0%, 28.6%)
CIE-LABlab(55.68, -12.55, -28.38)
CIE-LCHlch(55.68, 31.03, 246.15°)
OKLaboklab(61.25% -0.0617 -0.0796)
OKLCHoklch(61.25% 0.101 232.2)
XYZxyz(19.8005, 23.5911, 47.7569)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB6 #B66139
analogous
#39B6A0 #398EB6 #3950B6
triadic
#398EB6 #B6398E #8EB639
tetradic
#398EB6 #A039B6 #B66139 #50B639
square
#398EB6 #A039B6 #B66139 #50B639
split-complementary
#398EB6 #B63950 #B6A039
monochromatic
#1C4559 #2A6A87 #398EB6 #5FAACD #8EC3DC

Accessibility & contrast

On white

3.67
#398EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#398EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EB6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EB6#FFFFFF#000000##000000
##398EB61.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398eb6;
/* rgb */ color: rgb(57, 142, 182);
/* oklch */ color: oklch(61.2% 0.101 232.2);
Tailwind
colors: {
  custom: {
    50: '#7eafcc',
    500: '#398eb6',
    950: '#000000',
  },
}
SCSS
$custom: #398eb6;
$custom-light: #7eafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb6",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 199.2,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.10071,
    "h": 232.2
  },
  "luminance": 0.23593
}

Semantic roles & 50–950 ramp

primary
#398EB6
secondary
#C69A85
accent
#7A4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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