#305E8D#305E8D

#305E8D is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.092 H 250.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#305E8D
RGBrgb(48, 94, 141)
HSLhsl(210, 49%, 37%)
HSVhsv(210, 66%, 55%)
CMYKcmyk(66%, 33.3%, 0%, 44.7%)
CIE-LABlab(38.82, -0.04, -30.67)
CIE-LCHlch(38.82, 30.67, 269.92°)
OKLaboklab(47.2% -0.0302 -0.0867)
OKLCHoklch(47.2% 0.092 250.8)
XYZxyz(10.0276, 10.5559, 26.7032)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E8D #8D5F30
analogous
#308C8D #305E8D #31308D
triadic
#305E8D #8D305E #5E8D30
tetradic
#305E8D #8D308C #8D5F30 #308D31
square
#305E8D #8D308C #8D5F30 #308D31
split-complementary
#305E8D #8D3130 #8C8D30
monochromatic
#112132 #20405F #305E8D #407CBB #6B9BCD

Accessibility & contrast

On white

6.75
#305E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#305E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E8D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E8D#FFFFFF#000000##FFFFFF
##305E8D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608F
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305e8d;
/* rgb */ color: rgb(48, 94, 141);
/* oklch */ color: oklch(47.2% 0.092 250.8);
Tailwind
colors: {
  custom: {
    50: '#728bae',
    500: '#305e8d',
    950: '#000000',
  },
}
SCSS
$custom: #305e8d;
$custom-light: #728bae;
$custom-dark: #000000;
JSON
{
  "hex": "#305e8d",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 210.323,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.09185,
    "h": 250.8
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#305E8D
secondary
#B48D65
accent
#954FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #305E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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