#398CB5#398CB5

#398CB5 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.7% C 0.101 H 233.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#398CB5
RGBrgb(57, 140, 181)
HSLhsl(200, 52%, 47%)
HSVhsv(200, 69%, 71%)
CMYKcmyk(68.5%, 22.7%, 0%, 29%)
CIE-LABlab(55.03, -11.76, -28.81)
CIE-LCHlch(55.03, 31.12, 247.78°)
OKLaboklab(60.72% -0.06 -0.0809)
OKLCHoklch(60.72% 0.101 233.4)
XYZxyz(19.4026, 22.9601, 47.1163)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CB5 #B56239
analogous
#39B5A0 #398CB5 #394EB5
triadic
#398CB5 #B5398C #8CB539
tetradic
#398CB5 #A039B5 #B56239 #4EB539
square
#398CB5 #A039B5 #B56239 #4EB539
split-complementary
#398CB5 #B5394E #B5A039
monochromatic
#1C4458 #2A6886 #398CB5 #5FA8CD #8DC1DB

Accessibility & contrast

On white

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

On black

5.59
#398CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CB5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CB5#FFFFFF#000000##000000
##398CB51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB7
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398cb5;
/* rgb */ color: rgb(57, 140, 181);
/* oklch */ color: oklch(60.7% 0.101 233.4);
Tailwind
colors: {
  custom: {
    50: '#7eadcb',
    500: '#398cb5',
    950: '#000000',
  },
}
SCSS
$custom: #398cb5;
$custom-light: #7eadcb;
$custom-dark: #000000;
JSON
{
  "hex": "#398cb5",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 199.839,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.10067,
    "h": 233.4
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#398CB5
secondary
#C69A84
accent
#7C4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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