#305ABC#305ABC

#305ABC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.162 H 264.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#305ABC
RGBrgb(48, 90, 188)
HSLhsl(222, 59%, 46%)
HSVhsv(222, 74%, 74%)
CMYKcmyk(74.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.52, 20.10, -55.88)
CIE-LCHlch(40.52, 59.38, 289.78°)
OKLaboklab(49.43% -0.017 -0.1608)
OKLCHoklch(49.43% 0.162 264)
XYZxyz(13.9490, 11.5700, 49.0653)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305ABC #BC9230
analogous
#30A0BC #305ABC #4C30BC
triadic
#305ABC #BC305A #5ABC30
tetradic
#305ABC #BC30A0 #BC9230 #30BC4C
square
#305ABC #BC30A0 #BC9230 #30BC4C
split-complementary
#305ABC #BC4C30 #A0BC30
monochromatic
#172B5A #24438B #305ABC #557BD4 #86A1E0

Accessibility & contrast

On white

6.34
#305ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#305ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305ABC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305ABC#FFFFFF#000000##FFFFFF
##305ABC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305abc;
/* rgb */ color: rgb(48, 90, 188);
/* oklch */ color: oklch(49.4% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c88d1',
    500: '#305abc',
    950: '#000000',
  },
}
SCSS
$custom: #305abc;
$custom-light: #7c88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#305abc",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 222,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.1617,
    "h": 264
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#305ABC
secondary
#CAB37E
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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