#3057AD#3057AD

#3057AD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.145 H 263.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3057AD
RGBrgb(48, 87, 173)
HSLhsl(221, 57%, 43%)
HSVhsv(221, 72%, 68%)
CMYKcmyk(72.3%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.66, 16.40, -50.08)
CIE-LCHlch(38.66, 52.69, 288.14°)
OKLaboklab(47.68% -0.0163 -0.1438)
OKLCHoklch(47.68% 0.145 263.5)
XYZxyz(12.1673, 10.4606, 40.9049)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057AD #AD8630
analogous
#3095AD #3057AD #4730AD
triadic
#3057AD #AD3057 #57AD30
tetradic
#3057AD #AD3095 #AD8630 #30AD47
square
#3057AD #AD3095 #AD8630 #30AD47
split-complementary
#3057AD #AD4730 #95AD30
monochromatic
#15274D #233F7D #3057AD #4D75CE #7D9ADB

Accessibility & contrast

On white

6.79
#3057AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3057AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057AD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057AD#FFFFFF#000000##FFFFFF
##3057AD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3057ad;
/* rgb */ color: rgb(48, 87, 173);
/* oklch */ color: oklch(47.7% 0.145 263.5);
Tailwind
colors: {
  custom: {
    50: '#7885c6',
    500: '#3057ad',
    950: '#000000',
  },
}
SCSS
$custom: #3057ad;
$custom-light: #7885c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3057ad",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 221.28,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.1447,
    "h": 263.5
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#3057AD
secondary
#C3AB75
accent
#B048E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3057AD

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

Preview Lab → · Contrast checker → · Palette generator →

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