#398AAD#398AAD

#398AAD is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.094 H 229.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#398AAD
RGBrgb(57, 138, 173)
HSLhsl(198, 50%, 45%)
HSVhsv(198, 67%, 68%)
CMYKcmyk(67.1%, 20.2%, 0%, 32.2%)
CIE-LABlab(54.09, -13.32, -25.68)
CIE-LCHlch(54.09, 28.93, 242.58°)
OKLaboklab(59.86% -0.0608 -0.0719)
OKLCHoklch(59.86% 0.094 229.8)
XYZxyz(18.3157, 22.0620, 42.8202)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AAD #AD5C39
analogous
#39AD96 #398AAD #3950AD
triadic
#398AAD #AD398A #8AAD39
tetradic
#398AAD #9639AD #AD5C39 #50AD39
square
#398AAD #9639AD #AD5C39 #50AD39
split-complementary
#398AAD #AD3950 #AD9639
monochromatic
#1B4151 #2A657F #398AAD #5AA7C9 #88C0D8

Accessibility & contrast

On white

3.88
#398AAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#398AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AAD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AAD#FFFFFF#000000##000000
##398AAD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AF
Deuteranopia (green-blind)
#687CAD
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398aad;
/* rgb */ color: rgb(57, 138, 173);
/* oklch */ color: oklch(59.9% 0.094 229.8);
Tailwind
colors: {
  custom: {
    50: '#7dacc5',
    500: '#398aad',
    950: '#000000',
  },
}
SCSS
$custom: #398aad;
$custom-light: #7dacc5;
$custom-dark: #000000;
JSON
{
  "hex": "#398aad",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 173
  },
  "hsl": {
    "h": 198.103,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.09415,
    "h": 229.8
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#398AAD
secondary
#C29480
accent
#784EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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