#305273#305273

#305273 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.068 H 249.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#305273
RGBrgb(48, 82, 115)
HSLhsl(210, 41%, 32%)
HSVhsv(210, 58%, 45%)
CMYKcmyk(58.3%, 28.7%, 0%, 54.9%)
CIE-LABlab(33.77, -1.72, -22.62)
CIE-LCHlch(33.77, 22.69, 265.65°)
OKLaboklab(42.8% -0.0244 -0.0635)
OKLCHoklch(42.8% 0.068 249)
XYZxyz(7.3296, 7.9002, 17.3550)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305273 #735130
analogous
#307373 #305273 #303173
triadic
#305273 #733052 #527330
tetradic
#305273 #733073 #735130 #317330
square
#305273 #733073 #735130 #317330
split-complementary
#305273 #733031 #737330
monochromatic
#0C141D #1E3348 #305273 #42719E #618FBD

Accessibility & contrast

On white

8.14
#305273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#305273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305273
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305273#FFFFFF#000000##FFFFFF
##3052731.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #305273;
/* rgb */ color: rgb(48, 82, 115);
/* oklch */ color: oklch(42.8% 0.068 249.0);
Tailwind
colors: {
  custom: {
    50: '#6e829b',
    500: '#305273',
    950: '#000000',
  },
}
SCSS
$custom: #305273;
$custom-light: #6e829b;
$custom-dark: #000000;
JSON
{
  "hex": "#305273",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 115
  },
  "hsl": {
    "h": 209.552,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.06803,
    "h": 249
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#305273
secondary
#A47F5B
accent
#9357D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #305273

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

Preview Lab → · Contrast checker → · Palette generator →

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