#3057B3#3057B3

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

Color values

HEX#3057B3
RGBrgb(48, 87, 179)
HSLhsl(222, 58%, 45%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(73.2%, 51.4%, 0%, 29.8%)
CIE-LABlab(39.07, 18.67, -52.96)
CIE-LCHlch(39.07, 56.15, 289.42°)
OKLaboklab(48.13% -0.0156 -0.1522)
OKLCHoklch(48.13% 0.153 264.2)
XYZxyz(12.7609, 10.6981, 44.0315)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057B3 #B38C30
analogous
#3099B3 #3057B3 #4A30B3
triadic
#3057B3 #B33057 #57B330
tetradic
#3057B3 #B33099 #B38C30 #30B34A
square
#3057B3 #B33099 #B38C30 #30B34A
split-complementary
#3057B3 #B34A30 #99B330
monochromatic
#162852 #234083 #3057B3 #5076D0 #809CDD

Accessibility & contrast

On white

6.69
#3057B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3057B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3057B3#FFFFFF#000000##FFFFFF
##3057B31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3057b3;
/* rgb */ color: rgb(48, 87, 179);
/* oklch */ color: oklch(48.1% 0.153 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3057b3',
    950: '#000000',
  },
}
SCSS
$custom: #3057b3;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3057b3",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 222.137,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.15304,
    "h": 264.2
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3057B3

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

Preview Lab → · Contrast checker → · Palette generator →

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