#305F9D#305F9D

#305F9D is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.113 H 256.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#305F9D
RGBrgb(48, 95, 157)
HSLhsl(214, 53%, 40%)
HSVhsv(214, 69%, 62%)
CMYKcmyk(69.4%, 39.5%, 0%, 38.4%)
CIE-LABlab(39.99, 5.20, -38.43)
CIE-LCHlch(39.99, 38.78, 277.70°)
OKLaboklab(48.39% -0.0269 -0.1094)
OKLCHoklch(48.39% 0.113 256.2)
XYZxyz(11.3947, 11.2459, 33.4619)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F9D #9D6E30
analogous
#30969D #305F9D #37309D
triadic
#305F9D #9D305F #5F9D30
tetradic
#305F9D #9D3096 #9D6E30 #309D37
square
#305F9D #9D3096 #9D6E30 #309D37
split-complementary
#305F9D #9D3730 #969D30
monochromatic
#13263F #22436E #305F9D #447CC6 #739DD4

Accessibility & contrast

On white

6.46
#305F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#305F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F9D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F9D#FFFFFF#000000##FFFFFF
##305F9D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43649F
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305f9d;
/* rgb */ color: rgb(48, 95, 157);
/* oklch */ color: oklch(48.4% 0.113 256.2);
Tailwind
colors: {
  custom: {
    50: '#758cba',
    500: '#305f9d',
    950: '#000000',
  },
}
SCSS
$custom: #305f9d;
$custom-light: #758cba;
$custom-dark: #000000;
JSON
{
  "hex": "#305f9d",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 214.128,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.11268,
    "h": 256.2
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#305F9D
secondary
#BC9A6D
accent
#9E4BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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