#305FD0#305FD0

#305FD0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.182 H 264.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#305FD0
RGBrgb(48, 95, 208)
HSLhsl(222, 63%, 50%)
HSVhsv(222, 77%, 82%)
CMYKcmyk(76.9%, 54.3%, 0%, 18.4%)
CIE-LABlab(43.31, 24.36, -62.94)
CIE-LCHlch(43.31, 67.50, 291.16°)
OKLaboklab(52% -0.019 -0.1815)
OKLCHoklch(52% 0.182 264)
XYZxyz(16.6923, 13.3650, 61.3622)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305FD0 #D0A130
analogous
#30AFD0 #305FD0 #5130D0
triadic
#305FD0 #D0305F #5FD030
tetradic
#305FD0 #D030AF #D0A130 #30D051
square
#305FD0 #D030AF #D0A130 #30D051
split-complementary
#305FD0 #D05130 #AFD030
monochromatic
#19316D #24489F #305FD0 #6286DB #94ACE7

Accessibility & contrast

On white

5.72
#305FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#305FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305FD0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305FD0#FFFFFF#000000##FFFFFF
##305FD01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #305fd0;
/* rgb */ color: rgb(48, 95, 208);
/* oklch */ color: oklch(52.0% 0.182 264.0);
Tailwind
colors: {
  custom: {
    50: '#808bdf',
    500: '#305fd0',
    950: '#000000',
  },
}
SCSS
$custom: #305fd0;
$custom-light: #808bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#305fd0",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 222.375,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.18249,
    "h": 264
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#305FD0
secondary
#D2BD8A
accent
#B642E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #305FD0

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

Preview Lab → · Contrast checker → · Palette generator →

#305FD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva