#305E9B#305E9B

#305E9B is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.111 H 256.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#305E9B
RGBrgb(48, 94, 155)
HSLhsl(214, 53%, 40%)
HSVhsv(214, 69%, 61%)
CMYKcmyk(69%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.58, 5.10, -37.89)
CIE-LCHlch(39.58, 38.23, 277.66°)
OKLaboklab(48.03% -0.0264 -0.1079)
OKLCHoklch(48.03% 0.111 256.3)
XYZxyz(11.1359, 10.9992, 32.5402)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E9B #9B6D30
analogous
#30939B #305E9B #38309B
triadic
#305E9B #9B305E #5E9B30
tetradic
#305E9B #9B3093 #9B6D30 #309B38
square
#305E9B #9B3093 #9B6D30 #309B38
split-complementary
#305E9B #9B3830 #939B30
monochromatic
#13253E #22426C #305E9B #437BC5 #729CD3

Accessibility & contrast

On white

6.56
#305E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305E9B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E9B#FFFFFF#000000##FFFFFF
##305E9B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639D
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305e9b;
/* rgb */ color: rgb(48, 94, 155);
/* oklch */ color: oklch(48.0% 0.111 256.3);
Tailwind
colors: {
  custom: {
    50: '#758bb9',
    500: '#305e9b',
    950: '#000000',
  },
}
SCSS
$custom: #305e9b;
$custom-light: #758bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#305e9b",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 214.206,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.11104,
    "h": 256.3
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#305E9B
secondary
#BB996C
accent
#9E4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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