#398EBB#398EBB

#398EBB is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.5% C 0.106 H 235.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#398EBB
RGBrgb(57, 142, 187)
HSLhsl(201, 53%, 48%)
HSVhsv(201, 70%, 73%)
CMYKcmyk(69.5%, 24.1%, 0%, 26.7%)
CIE-LABlab(55.89, -10.86, -30.89)
CIE-LCHlch(55.89, 32.75, 250.63°)
OKLaboklab(61.49% -0.0599 -0.0869)
OKLCHoklch(61.49% 0.106 235.4)
XYZxyz(20.3265, 23.8015, 50.5270)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EBB #BB6639
analogous
#39BBA7 #398EBB #394DBB
triadic
#398EBB #BB398E #8EBB39
tetradic
#398EBB #A739BB #BB6639 #4DBB39
square
#398EBB #A739BB #BB6639 #4DBB39
split-complementary
#398EBB #BB394D #BBA739
monochromatic
#1C475D #2B6A8C #398EBB #62A9CF #91C3DD

Accessibility & contrast

On white

3.65
#398EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#398EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EBB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EBB#FFFFFF#000000##000000
##398EBB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398ebb;
/* rgb */ color: rgb(57, 142, 187);
/* oklch */ color: oklch(61.5% 0.106 235.4);
Tailwind
colors: {
  custom: {
    50: '#7fafcf',
    500: '#398ebb',
    950: '#000000',
  },
}
SCSS
$custom: #398ebb;
$custom-light: #7fafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#398ebb",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 200.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.10552,
    "h": 235.4
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#398EBB
secondary
#C89E87
accent
#7E4BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #398EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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