#305F8D#305F8D

#305F8D is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.091 H 249.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#305F8D
RGBrgb(48, 95, 141)
HSLhsl(210, 49%, 37%)
HSVhsv(210, 66%, 55%)
CMYKcmyk(66%, 32.6%, 0%, 44.7%)
CIE-LABlab(39.13, -0.67, -30.18)
CIE-LCHlch(39.13, 30.19, 268.73°)
OKLaboklab(47.44% -0.0313 -0.0853)
OKLCHoklch(47.44% 0.091 249.9)
XYZxyz(10.1171, 10.7349, 26.7330)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F8D #8D5E30
analogous
#308D8C #305F8D #30318D
triadic
#305F8D #8D305F #5F8D30
tetradic
#305F8D #8C308D #8D5E30 #318D30
square
#305F8D #8C308D #8D5E30 #318D30
split-complementary
#305F8D #8D3031 #8D8C30
monochromatic
#112132 #20405F #305F8D #407EBB #6B9CCD

Accessibility & contrast

On white

6.67
#305F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#305F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F8D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F8D#FFFFFF#000000##FFFFFF
##305F8D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305f8d;
/* rgb */ color: rgb(48, 95, 141);
/* oklch */ color: oklch(47.4% 0.091 249.9);
Tailwind
colors: {
  custom: {
    50: '#728cae',
    500: '#305f8d',
    950: '#000000',
  },
}
SCSS
$custom: #305f8d;
$custom-light: #728cae;
$custom-dark: #000000;
JSON
{
  "hex": "#305f8d",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 209.677,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.09089,
    "h": 249.9
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#305F8D
secondary
#B48C65
accent
#934FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #305F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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