#305EA0#305EA0

#305EA0 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.118 H 257.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#305EA0
RGBrgb(48, 94, 160)
HSLhsl(215, 54%, 41%)
HSVhsv(215, 70%, 63%)
CMYKcmyk(70%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.87, 6.96, -40.42)
CIE-LCHlch(39.87, 41.01, 279.77°)
OKLaboklab(48.35% -0.0252 -0.1153)
OKLCHoklch(48.35% 0.118 257.7)
XYZxyz(11.5645, 11.1707, 34.7976)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EA0 #A07230
analogous
#3096A0 #305EA0 #3A30A0
triadic
#305EA0 #A0305E #5EA030
tetradic
#305EA0 #A03096 #A07230 #30A03A
square
#305EA0 #A03096 #A07230 #30A03A
split-complementary
#305EA0 #A03A30 #96A030
monochromatic
#142742 #224271 #305EA0 #467BC7 #759DD6

Accessibility & contrast

On white

6.49
#305EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#305EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EA0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EA0#FFFFFF#000000##FFFFFF
##305EA01.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A3
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305ea0;
/* rgb */ color: rgb(48, 94, 160);
/* oklch */ color: oklch(48.4% 0.118 257.7);
Tailwind
colors: {
  custom: {
    50: '#768bbc',
    500: '#305ea0',
    950: '#000000',
  },
}
SCSS
$custom: #305ea0;
$custom-light: #768bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#305ea0",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 215.357,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48351,
    "c": 0.11799,
    "h": 257.7
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#305EA0
secondary
#BE9D6E
accent
#A14BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #305EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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