#3057B2#3057B2

#3057B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.152 H 264.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3057B2
RGBrgb(48, 87, 178)
HSLhsl(222, 58%, 44%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(73%, 51.1%, 0%, 30.2%)
CIE-LABlab(39.00, 18.29, -52.48)
CIE-LCHlch(39.00, 55.57, 289.22°)
OKLaboklab(48.05% -0.0157 -0.1509)
OKLCHoklch(48.05% 0.152 264.1)
XYZxyz(12.6602, 10.6578, 43.5008)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057B2 #B28B30
analogous
#3098B2 #3057B2 #4A30B2
triadic
#3057B2 #B23057 #57B230
tetradic
#3057B2 #B23098 #B28B30 #30B24A
square
#3057B2 #B23098 #B28B30 #30B24A
split-complementary
#3057B2 #B24A30 #98B230
monochromatic
#162852 #233F82 #3057B2 #5076D0 #809CDD

Accessibility & contrast

On white

6.71
#3057B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3057B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3057B2#FFFFFF#000000##FFFFFF
##3057B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3057b2;
/* rgb */ color: rgb(48, 87, 178);
/* oklch */ color: oklch(48.1% 0.152 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3057b2',
    950: '#000000',
  },
}
SCSS
$custom: #3057b2;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3057b2",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 222,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.15166,
    "h": 264.1
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#3057B2
secondary
#C6AE78
accent
#B347E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3057B2

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

Preview Lab → · Contrast checker → · Palette generator →

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