#398CBB#398CBB

#398CBB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.0% C 0.107 H 237.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#398CBB
RGBrgb(57, 140, 187)
HSLhsl(202, 53%, 48%)
HSVhsv(202, 70%, 73%)
CMYKcmyk(69.5%, 25.1%, 0%, 26.7%)
CIE-LABlab(55.29, -9.73, -31.83)
CIE-LCHlch(55.29, 33.28, 253.00°)
OKLaboklab(61.01% -0.0579 -0.0896)
OKLCHoklch(61.01% 0.107 237.1)
XYZxyz(20.0316, 23.2117, 50.4287)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CBB #BB6839
analogous
#39BBA9 #398CBB #394BBB
triadic
#398CBB #BB398C #8CBB39
tetradic
#398CBB #A939BB #BB6839 #4BBB39
square
#398CBB #A939BB #BB6839 #4BBB39
split-complementary
#398CBB #BB394B #BBA939
monochromatic
#1C465D #2B698C #398CBB #62A8CF #91C2DD

Accessibility & contrast

On white

3.72
#398CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#398CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CBB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CBB#FFFFFF#000000##000000
##398CBB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#768BBD
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398cbb;
/* rgb */ color: rgb(57, 140, 187);
/* oklch */ color: oklch(61.0% 0.107 237.1);
Tailwind
colors: {
  custom: {
    50: '#7fadcf',
    500: '#398cbb',
    950: '#000000',
  },
}
SCSS
$custom: #398cbb;
$custom-light: #7fadcf;
$custom-dark: #000000;
JSON
{
  "hex": "#398cbb",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 187
  },
  "hsl": {
    "h": 201.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.10665,
    "h": 237.1
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#398CBB
secondary
#C89F87
accent
#804BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #398CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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