#3057AA#3057AA

#3057AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.141 H 263.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3057AA
RGBrgb(48, 87, 170)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(71.8%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.46, 15.27, -48.62)
CIE-LCHlch(38.46, 50.96, 287.44°)
OKLaboklab(47.47% -0.0167 -0.1395)
OKLCHoklch(47.47% 0.141 263.2)
XYZxyz(11.8802, 10.3458, 39.3932)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057AA #AA8330
analogous
#3094AA #3057AA #4630AA
triadic
#3057AA #AA3057 #57AA30
tetradic
#3057AA #AA3094 #AA8330 #30AA46
square
#3057AA #AA3094 #AA8330 #30AA46
split-complementary
#3057AA #AA4630 #94AA30
monochromatic
#15264B #233F7A #3057AA #4B74CC #7B99DA

Accessibility & contrast

On white

6.84
#3057AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3057AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3057AA#FFFFFF#000000##FFFFFF
##3057AA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AD
Deuteranopia (green-blind)
#0455A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3057aa;
/* rgb */ color: rgb(48, 87, 170);
/* oklch */ color: oklch(47.5% 0.141 263.2);
Tailwind
colors: {
  custom: {
    50: '#7885c4',
    500: '#3057aa',
    950: '#000000',
  },
}
SCSS
$custom: #3057aa;
$custom-light: #7885c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3057aa",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 220.82,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.1405,
    "h": 263.2
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#3057AA
secondary
#C2A974
accent
#AF49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3057AA

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

Preview Lab → · Contrast checker → · Palette generator →

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