#398BA2#398BA2

#398BA2 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.6% C 0.086 H 219.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#398BA2
RGBrgb(57, 139, 162)
HSLhsl(193, 48%, 43%)
HSVhsv(193, 65%, 64%)
CMYKcmyk(64.8%, 14.2%, 0%, 36.5%)
CIE-LABlab(53.97, -17.46, -19.55)
CIE-LCHlch(53.97, 26.21, 228.24°)
OKLaboklab(59.61% -0.0661 -0.0544)
OKLCHoklch(59.61% 0.086 219.5)
XYZxyz(17.4389, 21.9419, 37.4916)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BA2 #A25039
analogous
#39A284 #398BA2 #3956A2
triadic
#398BA2 #A2398B #8BA239
tetradic
#398BA2 #8439A2 #A25039 #56A239
square
#398BA2 #8439A2 #A25039 #56A239
split-complementary
#398BA2 #A23956 #A28439
monochromatic
#193D47 #296475 #398BA2 #55ABC3 #82C1D3

Accessibility & contrast

On white

3.90
#398BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#398BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BA2#FFFFFF#000000##000000
##398BA21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D87A3
Deuteranopia (green-blind)
#6E7CA2
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398ba2;
/* rgb */ color: rgb(57, 139, 162);
/* oklch */ color: oklch(59.6% 0.086 219.5);
Tailwind
colors: {
  custom: {
    50: '#7badbd',
    500: '#398ba2',
    950: '#000000',
  },
}
SCSS
$custom: #398ba2;
$custom-light: #7badbd;
$custom-dark: #000000;
JSON
{
  "hex": "#398ba2",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 193.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.08565,
    "h": 219.5
  },
  "luminance": 0.21944
}

Semantic roles & 50–950 ramp

primary
#398BA2
secondary
#BD897A
accent
#6E50D8
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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