#398BAA#398BAA

#398BAA is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.091 H 226.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#398BAA
RGBrgb(57, 139, 170)
HSLhsl(196, 50%, 45%)
HSVhsv(196, 66%, 67%)
CMYKcmyk(66.5%, 18.2%, 0%, 33.3%)
CIE-LABlab(54.28, -14.87, -23.68)
CIE-LCHlch(54.28, 27.96, 237.88°)
OKLaboklab(59.97% -0.063 -0.0662)
OKLCHoklch(59.97% 0.091 226.4)
XYZxyz(18.1728, 22.2354, 41.3566)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BAA #AA5839
analogous
#39AA91 #398BAA #3953AA
triadic
#398BAA #AA398B #8BAA39
tetradic
#398BAA #9139AA #AA5839 #53AA39
square
#398BAA #9139AA #AA5839 #53AA39
split-complementary
#398BAA #AA3953 #AA9139
monochromatic
#1A404E #2A667C #398BAA #59A9C7 #87C1D7

Accessibility & contrast

On white

3.86
#398BAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#398BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BAA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BAA#FFFFFF#000000##000000
##398BAA1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A88AC
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398baa;
/* rgb */ color: rgb(57, 139, 170);
/* oklch */ color: oklch(60.0% 0.091 226.4);
Tailwind
colors: {
  custom: {
    50: '#7cadc3',
    500: '#398baa',
    950: '#000000',
  },
}
SCSS
$custom: #398baa;
$custom-light: #7cadc3;
$custom-dark: #000000;
JSON
{
  "hex": "#398baa",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 170
  },
  "hsl": {
    "h": 196.46,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.09134,
    "h": 226.4
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#398BAA
secondary
#C1907E
accent
#754ED9
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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