#305F93#305F93

#305F93 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.099 H 252.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#305F93
RGBrgb(48, 95, 147)
HSLhsl(212, 51%, 38%)
HSVhsv(212, 67%, 58%)
CMYKcmyk(67.3%, 35.4%, 0%, 42.4%)
CIE-LABlab(39.44, 1.51, -33.31)
CIE-LCHlch(39.44, 33.34, 272.60°)
OKLaboklab(47.78% -0.0295 -0.0944)
OKLCHoklch(47.78% 0.099 252.6)
XYZxyz(10.5757, 10.9183, 29.1482)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F93 #936430
analogous
#309093 #305F93 #323093
triadic
#305F93 #93305F #5F9330
tetradic
#305F93 #933090 #936430 #309332
square
#305F93 #933090 #936430 #309332
split-complementary
#305F93 #933230 #909330
monochromatic
#122337 #214165 #305F93 #407DC1 #6E9CD0

Accessibility & contrast

On white

6.60
#305F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#305F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F93
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F93#FFFFFF#000000##FFFFFF
##305F931.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486295
Deuteranopia (green-blind)
#3A5992
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305f93;
/* rgb */ color: rgb(48, 95, 147);
/* oklch */ color: oklch(47.8% 0.099 252.6);
Tailwind
colors: {
  custom: {
    50: '#738cb3',
    500: '#305f93',
    950: '#000000',
  },
}
SCSS
$custom: #305f93;
$custom-light: #738cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#305f93",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 147
  },
  "hsl": {
    "h": 211.515,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.09895,
    "h": 252.6
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#305F93
secondary
#B79168
accent
#974EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F93

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

Preview Lab → · Contrast checker → · Palette generator →

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