#398DAF#398DAF

#398DAF is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.7% C 0.095 H 228.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#398DAF
RGBrgb(57, 141, 175)
HSLhsl(197, 51%, 45%)
HSVhsv(197, 67%, 69%)
CMYKcmyk(67.4%, 19.4%, 0%, 31.4%)
CIE-LABlab(55.09, -14.32, -25.29)
CIE-LCHlch(55.09, 29.07, 240.48°)
OKLaboklab(60.68% -0.0632 -0.0708)
OKLCHoklch(60.68% 0.095 228.2)
XYZxyz(18.9470, 23.0127, 43.9925)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DAF #AF5B39
analogous
#39AF96 #398DAF #3952AF
triadic
#398DAF #AF398D #8DAF39
tetradic
#398DAF #9639AF #AF5B39 #52AF39
square
#398DAF #9639AF #AF5B39 #52AF39
split-complementary
#398DAF #AF3952 #AF9639
monochromatic
#1B4353 #2A6881 #398DAF #5BAACA #8AC2D9

Accessibility & contrast

On white

3.75
#398DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#398DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DAF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DAF#FFFFFF#000000##000000
##398DAF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB1
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398daf;
/* rgb */ color: rgb(57, 141, 175);
/* oklch */ color: oklch(60.7% 0.095 228.2);
Tailwind
colors: {
  custom: {
    50: '#7daec7',
    500: '#398daf',
    950: '#000000',
  },
}
SCSS
$custom: #398daf;
$custom-light: #7daec7;
$custom-dark: #000000;
JSON
{
  "hex": "#398daf",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 197.288,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.0949,
    "h": 228.2
  },
  "luminance": 0.23015
}

Semantic roles & 50–950 ramp

primary
#398DAF
secondary
#C39481
accent
#764DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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