#398BBB#398BBB

#398BBB is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.8% C 0.107 H 238.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#398BBB
RGBrgb(57, 139, 187)
HSLhsl(202, 53%, 48%)
HSVhsv(202, 70%, 73%)
CMYKcmyk(69.5%, 25.7%, 0%, 26.7%)
CIE-LABlab(54.99, -9.16, -32.29)
CIE-LCHlch(54.99, 33.57, 254.16°)
OKLaboklab(60.77% -0.0568 -0.0909)
OKLCHoklch(60.77% 0.107 238)
XYZxyz(19.8861, 22.9208, 50.3802)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BBB #BB6939
analogous
#39BBAA #398BBB #394ABB
triadic
#398BBB #BB398B #8BBB39
tetradic
#398BBB #AA39BB #BB6939 #4ABB39
square
#398BBB #AA39BB #BB6939 #4ABB39
split-complementary
#398BBB #BB394A #BBAA39
monochromatic
#1C455D #2B688C #398BBB #62A7CF #91C1DD

Accessibility & contrast

On white

3.76
#398BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#398BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BBB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BBB#FFFFFF#000000##000000
##398BBB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBD
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398bbb;
/* rgb */ color: rgb(57, 139, 187);
/* oklch */ color: oklch(60.8% 0.107 238.0);
Tailwind
colors: {
  custom: {
    50: '#7faccf',
    500: '#398bbb',
    950: '#000000',
  },
}
SCSS
$custom: #398bbb;
$custom-light: #7faccf;
$custom-dark: #000000;
JSON
{
  "hex": "#398bbb",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 202.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.10724,
    "h": 238
  },
  "luminance": 0.22923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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