#3057B9#3057B9

#3057B9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.161 H 264.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3057B9
RGBrgb(48, 87, 185)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 73%)
CMYKcmyk(74.1%, 53%, 0%, 27.5%)
CIE-LABlab(39.49, 20.93, -55.80)
CIE-LCHlch(39.49, 59.59, 290.56°)
OKLaboklab(48.58% -0.0149 -0.1606)
OKLCHoklch(48.58% 0.161 264.7)
XYZxyz(13.3810, 10.9461, 47.2971)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057B9 #B99230
analogous
#309BB9 #3057B9 #4E30B9
triadic
#3057B9 #B93057 #57B930
tetradic
#3057B9 #B9309B #B99230 #30B94E
square
#3057B9 #B9309B #B99230 #30B94E
split-complementary
#3057B9 #B94E30 #9BB930
monochromatic
#172958 #234088 #3057B9 #5478D3 #849EDF

Accessibility & contrast

On white

6.58
#3057B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3057B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057B9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057B9#FFFFFF#000000##FFFFFF
##3057B91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3057b9;
/* rgb */ color: rgb(48, 87, 185);
/* oklch */ color: oklch(48.6% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#7b85cf',
    500: '#3057b9',
    950: '#000000',
  },
}
SCSS
$custom: #3057b9;
$custom-light: #7b85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3057b9",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 222.92,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.1613,
    "h": 264.7
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#3057B9
secondary
#C9B37C
accent
#B646E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3057B9

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

Preview Lab → · Contrast checker → · Palette generator →

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