#3A5E8A#3A5E8A

#3A5E8A is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.083 H 254.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3A5E8A
RGBrgb(58, 94, 138)
HSLhsl(213, 41%, 38%)
HSVhsv(213, 58%, 54%)
CMYKcmyk(58%, 31.9%, 0%, 45.9%)
CIE-LABlab(39.14, 0.98, -28.32)
CIE-LCHlch(39.14, 28.34, 271.97°)
OKLaboklab(47.52% -0.0225 -0.0798)
OKLCHoklch(47.52% 0.083 254.2)
XYZxyz(10.3335, 10.7391, 25.5681)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5E8A #8A663A
analogous
#3A868A #3A5E8A #3E3A8A
triadic
#3A5E8A #8A3A5E #5E8A3A
tetradic
#3A5E8A #8A3A86 #8A663A #3A8A3E
square
#3A5E8A #8A3A86 #8A663A #3A8A3E
split-complementary
#3A5E8A #8A3E3A #868A3A
monochromatic
#162334 #28415F #3A5E8A #4D7BB4 #789BC6

Accessibility & contrast

On white

6.67
#3A5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3A5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5E8A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5E8A#FFFFFF#000000##FFFFFF
##3A5E8A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a5e8a;
/* rgb */ color: rgb(58, 94, 138);
/* oklch */ color: oklch(47.5% 0.083 254.2);
Tailwind
colors: {
  custom: {
    50: '#778bac',
    500: '#3a5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3a5e8a;
$custom-light: #778bac;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5e8a",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 213,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.08291,
    "h": 254.2
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#3A5E8A
secondary
#B09370
accent
#9A57D1
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #3A5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva