#3165BA#3165BA

#3165BA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.145 H 259.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3165BA
RGBrgb(49, 101, 186)
HSLhsl(217, 58%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(73.7%, 45.7%, 0%, 27.1%)
CIE-LABlab(43.51, 12.35, -49.89)
CIE-LCHlch(43.51, 51.40, 283.91°)
OKLaboklab(51.69% -0.0258 -0.143)
OKLCHoklch(51.69% 0.145 259.8)
XYZxyz(14.7800, 13.5039, 48.2724)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165BA #BA8631
analogous
#31A9BA #3165BA #4131BA
triadic
#3165BA #BA3165 #65BA31
tetradic
#3165BA #BA31A9 #BA8631 #31BA41
square
#3165BA #BA31A9 #BA8631 #31BA41
split-complementary
#3165BA #BA4131 #A9BA31
monochromatic
#173059 #244B8A #3165BA #5685D2 #86A8DF

Accessibility & contrast

On white

5.67
#3165BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3165BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165BA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165BA#FFFFFF#000000##FFFFFF
##3165BA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3165ba;
/* rgb */ color: rgb(49, 101, 186);
/* oklch */ color: oklch(51.7% 0.145 259.8);
Tailwind
colors: {
  custom: {
    50: '#7b90cf',
    500: '#3165ba',
    950: '#000000',
  },
}
SCSS
$custom: #3165ba;
$custom-light: #7b90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3165ba",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 217.226,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.14529,
    "h": 259.8
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#3165BA
secondary
#C9AC7E
accent
#A746E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3165BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3165BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva