#305F95#305F95

#305F95 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.102 H 253.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#305F95
RGBrgb(48, 95, 149)
HSLhsl(212, 51%, 39%)
HSVhsv(212, 68%, 58%)
CMYKcmyk(67.8%, 36.2%, 0%, 41.6%)
CIE-LABlab(39.55, 2.24, -34.34)
CIE-LCHlch(39.55, 34.41, 273.74°)
OKLaboklab(47.9% -0.029 -0.0975)
OKLCHoklch(47.9% 0.102 253.4)
XYZxyz(10.7340, 10.9816, 29.9819)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F95 #956630
analogous
#309195 #305F95 #333095
triadic
#305F95 #95305F #5F9530
tetradic
#305F95 #953091 #956630 #309533
square
#305F95 #953091 #956630 #309533
split-complementary
#305F95 #953330 #919530
monochromatic
#122438 #214167 #305F95 #417DC2 #6F9CD1

Accessibility & contrast

On white

6.57
#305F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#305F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F95
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F95#FFFFFF#000000##FFFFFF
##305F951.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305f95;
/* rgb */ color: rgb(48, 95, 149);
/* oklch */ color: oklch(47.9% 0.102 253.4);
Tailwind
colors: {
  custom: {
    50: '#748cb4',
    500: '#305f95',
    950: '#000000',
  },
}
SCSS
$custom: #305f95;
$custom-light: #748cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#305f95",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 212.079,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.10168,
    "h": 253.4
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#305F95
secondary
#B89369
accent
#994DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F95

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

Preview Lab → · Contrast checker → · Palette generator →

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