#305FA0#305FA0

#305FA0 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.117 H 257.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#305FA0
RGBrgb(48, 95, 160)
HSLhsl(215, 54%, 41%)
HSVhsv(215, 70%, 63%)
CMYKcmyk(70%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.16, 6.32, -39.94)
CIE-LCHlch(40.16, 40.44, 278.98°)
OKLaboklab(48.58% -0.0262 -0.1139)
OKLCHoklch(48.58% 0.117 257)
XYZxyz(11.6540, 11.3497, 34.8274)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305FA0 #A07130
analogous
#3097A0 #305FA0 #3930A0
triadic
#305FA0 #A0305F #5FA030
tetradic
#305FA0 #A03097 #A07130 #30A039
square
#305FA0 #A03097 #A07130 #30A039
split-complementary
#305FA0 #A03930 #97A030
monochromatic
#142742 #224371 #305FA0 #467CC7 #759DD6

Accessibility & contrast

On white

6.42
#305FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#305FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305FA0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305FA0#FFFFFF#000000##FFFFFF
##305FA01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305fa0;
/* rgb */ color: rgb(48, 95, 160);
/* oklch */ color: oklch(48.6% 0.117 257.0);
Tailwind
colors: {
  custom: {
    50: '#768cbc',
    500: '#305fa0',
    950: '#000000',
  },
}
SCSS
$custom: #305fa0;
$custom-light: #768cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#305fa0",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 214.821,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.11685,
    "h": 257
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#305FA0
secondary
#BE9C6E
accent
#A04BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #305FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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