#305381#305381

#305381 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.087 H 255.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#305381
RGBrgb(48, 83, 129)
HSLhsl(214, 46%, 35%)
HSVhsv(214, 63%, 51%)
CMYKcmyk(62.8%, 35.7%, 0%, 49.4%)
CIE-LABlab(34.80, 2.62, -29.68)
CIE-LCHlch(34.80, 29.80, 275.05°)
OKLaboklab(43.84% -0.0212 -0.084)
OKLCHoklch(43.84% 0.087 255.8)
XYZxyz(8.2732, 8.3991, 21.9498)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305381 #815E30
analogous
#307C81 #305381 #353081
triadic
#305381 #813053 #538130
tetradic
#305381 #81307C #815E30 #308135
square
#305381 #81307C #815E30 #308135
split-complementary
#305381 #813530 #7C8130
monochromatic
#0F1A28 #1F3654 #305381 #4170AE #668FC6

Accessibility & contrast

On white

7.84
#305381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#305381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305381
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305381#FFFFFF#000000##FFFFFF
##3053811.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405683
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305381;
/* rgb */ color: rgb(48, 83, 129);
/* oklch */ color: oklch(43.8% 0.087 255.8);
Tailwind
colors: {
  custom: {
    50: '#7083a6',
    500: '#305381',
    950: '#000000',
  },
}
SCSS
$custom: #305381;
$custom-light: #7083a6;
$custom-dark: #000000;
JSON
{
  "hex": "#305381",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 214.074,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.08663,
    "h": 255.8
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#305381
secondary
#AD8C60
accent
#9D52D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #305381

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

Preview Lab → · Contrast checker → · Palette generator →

#305381 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva