#305F97#305F97

#305F97 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.104 H 254.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#305F97
RGBrgb(48, 95, 151)
HSLhsl(213, 52%, 39%)
HSVhsv(213, 68%, 59%)
CMYKcmyk(68.2%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.66, 2.98, -35.37)
CIE-LCHlch(39.66, 35.49, 274.81°)
OKLaboklab(48.02% -0.0284 -0.1005)
OKLCHoklch(48.02% 0.104 254.2)
XYZxyz(10.8950, 11.0461, 30.8301)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F97 #976830
analogous
#309397 #305F97 #343097
triadic
#305F97 #97305F #5F9730
tetradic
#305F97 #973093 #976830 #309734
square
#305F97 #973093 #976830 #309734
split-complementary
#305F97 #973430 #939730
monochromatic
#12253A #214269 #305F97 #417CC3 #709CD2

Accessibility & contrast

On white

6.54
#305F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#305F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F97
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F97#FFFFFF#000000##FFFFFF
##305F971.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305f97;
/* rgb */ color: rgb(48, 95, 151);
/* oklch */ color: oklch(48.0% 0.104 254.2);
Tailwind
colors: {
  custom: {
    50: '#748cb6',
    500: '#305f97',
    950: '#000000',
  },
}
SCSS
$custom: #305f97;
$custom-light: #748cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#305f97",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 212.621,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.10441,
    "h": 254.2
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#305F97
secondary
#B9956A
accent
#9A4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F97

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

Preview Lab → · Contrast checker → · Palette generator →

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