#305F94#305F94

#305F94 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.8% C 0.100 H 253.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#305F94
RGBrgb(48, 95, 148)
HSLhsl(212, 51%, 38%)
HSVhsv(212, 68%, 58%)
CMYKcmyk(67.6%, 35.8%, 0%, 42%)
CIE-LABlab(39.50, 1.88, -33.82)
CIE-LCHlch(39.50, 33.88, 273.18°)
OKLaboklab(47.84% -0.0293 -0.0959)
OKLCHoklch(47.84% 0.1 253)
XYZxyz(10.6545, 10.9498, 29.5633)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F94 #946530
analogous
#309194 #305F94 #333094
triadic
#305F94 #94305F #5F9430
tetradic
#305F94 #943091 #946530 #309433
square
#305F94 #943091 #946530 #309433
split-complementary
#305F94 #943330 #919430
monochromatic
#122438 #214166 #305F94 #407DC1 #6E9CD0

Accessibility & contrast

On white

6.58
#305F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#305F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F94
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F94#FFFFFF#000000##FFFFFF
##305F941.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486296
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305f94;
/* rgb */ color: rgb(48, 95, 148);
/* oklch */ color: oklch(47.8% 0.100 253.0);
Tailwind
colors: {
  custom: {
    50: '#738cb3',
    500: '#305f94',
    950: '#000000',
  },
}
SCSS
$custom: #305f94;
$custom-light: #738cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#305f94",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 211.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.10031,
    "h": 253
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#305F94
secondary
#B89268
accent
#984DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F94

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

Preview Lab → · Contrast checker → · Palette generator →

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