#306ABC#306ABC

#306ABC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.142 H 257.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#306ABC
RGBrgb(48, 106, 188)
HSLhsl(215, 59%, 46%)
HSVhsv(215, 74%, 74%)
CMYKcmyk(74.5%, 43.6%, 0%, 26.3%)
CIE-LABlab(45.03, 9.78, -48.62)
CIE-LCHlch(45.03, 49.60, 281.38°)
OKLaboklab(52.89% -0.0305 -0.1392)
OKLCHoklch(52.89% 0.142 257.6)
XYZxyz(15.4467, 14.5656, 49.5645)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306ABC #BC8230
analogous
#30B0BC #306ABC #3C30BC
triadic
#306ABC #BC306A #6ABC30
tetradic
#306ABC #BC30B0 #BC8230 #30BC3C
square
#306ABC #BC30B0 #BC8230 #30BC3C
split-complementary
#306ABC #BC3C30 #B0BC30
monochromatic
#17335A #244F8B #306ABC #558AD4 #86ABE0

Accessibility & contrast

On white

5.37
#306ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#306ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306ABC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306ABC#FFFFFF#000000##FFFFFF
##306ABC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#2765BA
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306abc;
/* rgb */ color: rgb(48, 106, 188);
/* oklch */ color: oklch(52.9% 0.142 257.6);
Tailwind
colors: {
  custom: {
    50: '#7b94d1',
    500: '#306abc',
    950: '#000000',
  },
}
SCSS
$custom: #306abc;
$custom-light: #7b94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#306abc",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 215.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.14247,
    "h": 257.6
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#306ABC
secondary
#CAAA7E
accent
#A145E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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