#305D95#305D95

#305D95 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.104 H 255.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#305D95
RGBrgb(48, 93, 149)
HSLhsl(213, 51%, 39%)
HSVhsv(213, 68%, 58%)
CMYKcmyk(67.8%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.94, 3.52, -35.30)
CIE-LCHlch(38.94, 35.48, 275.69°)
OKLaboklab(47.43% -0.0269 -0.1003)
OKLCHoklch(47.43% 0.104 255)
XYZxyz(10.5561, 10.6259, 29.9226)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D95 #956830
analogous
#308F95 #305D95 #353095
triadic
#305D95 #95305D #5D9530
tetradic
#305D95 #95308F #956830 #309535
square
#305D95 #95308F #956830 #309535
split-complementary
#305D95 #953530 #8F9530
monochromatic
#122338 #214067 #305D95 #417AC2 #6F9AD1

Accessibility & contrast

On white

6.72
#305D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#305D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D95
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D95#FFFFFF#000000##FFFFFF
##305D951.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#365794
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305d95;
/* rgb */ color: rgb(48, 93, 149);
/* oklch */ color: oklch(47.4% 0.104 255.0);
Tailwind
colors: {
  custom: {
    50: '#748ab4',
    500: '#305d95',
    950: '#000000',
  },
}
SCSS
$custom: #305d95;
$custom-light: #748ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#305d95",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 213.267,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.10382,
    "h": 255
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#305D95
secondary
#B89569
accent
#9C4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305D95

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

Preview Lab → · Contrast checker → · Palette generator →

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