#3057B8#3057B8

#3057B8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.160 H 264.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3057B8
RGBrgb(48, 87, 184)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 72%)
CMYKcmyk(73.9%, 52.7%, 0%, 27.8%)
CIE-LABlab(39.42, 20.55, -55.33)
CIE-LCHlch(39.42, 59.02, 290.38°)
OKLaboklab(48.51% -0.015 -0.1592)
OKLCHoklch(48.51% 0.16 264.6)
XYZxyz(13.2758, 10.9040, 46.7431)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057B8 #B89130
analogous
#309BB8 #3057B8 #4D30B8
triadic
#3057B8 #B83057 #57B830
tetradic
#3057B8 #B8309B #B89130 #30B84D
square
#3057B8 #B8309B #B89130 #30B84D
split-complementary
#3057B8 #B84D30 #9BB830
monochromatic
#172957 #234087 #3057B8 #5377D2 #849EDF

Accessibility & contrast

On white

6.60
#3057B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3057B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057B8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057B8#FFFFFF#000000##FFFFFF
##3057B81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3057b8;
/* rgb */ color: rgb(48, 87, 184);
/* oklch */ color: oklch(48.5% 0.160 264.6);
Tailwind
colors: {
  custom: {
    50: '#7b85ce',
    500: '#3057b8',
    950: '#000000',
  },
}
SCSS
$custom: #3057b8;
$custom-light: #7b85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3057b8",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 222.794,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.15994,
    "h": 264.6
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#3057B8
secondary
#C8B27C
accent
#B546E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3057B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3057B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva