#398BAF#398BAF

#398BAF is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.096 H 230.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#398BAF
RGBrgb(57, 139, 175)
HSLhsl(198, 51%, 45%)
HSVhsv(198, 67%, 69%)
CMYKcmyk(67.4%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.48, -13.21, -26.23)
CIE-LCHlch(54.48, 29.37, 243.26°)
OKLaboklab(60.2% -0.0611 -0.0735)
OKLCHoklch(60.2% 0.096 230.3)
XYZxyz(18.6548, 22.4282, 43.8951)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BAF #AF5D39
analogous
#39AF98 #398BAF #3950AF
triadic
#398BAF #AF398B #8BAF39
tetradic
#398BAF #9839AF #AF5D39 #50AF39
square
#398BAF #9839AF #AF5D39 #50AF39
split-complementary
#398BAF #AF3950 #AF9839
monochromatic
#1B4253 #2A6681 #398BAF #5BA8CA #8AC1D9

Accessibility & contrast

On white

3.83
#398BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#398BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BAF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BAF#FFFFFF#000000##000000
##398BAF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398baf;
/* rgb */ color: rgb(57, 139, 175);
/* oklch */ color: oklch(60.2% 0.096 230.3);
Tailwind
colors: {
  custom: {
    50: '#7dacc7',
    500: '#398baf',
    950: '#000000',
  },
}
SCSS
$custom: #398baf;
$custom-light: #7dacc7;
$custom-dark: #000000;
JSON
{
  "hex": "#398baf",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 198.305,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60195,
    "c": 0.09556,
    "h": 230.3
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#398BAF
secondary
#C39581
accent
#784DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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