#306FAB#306FAB

#306FAB is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 53.0% C 0.115 H 250.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#306FAB
RGBrgb(48, 111, 171)
HSLhsl(209, 56%, 43%)
HSVhsv(209, 72%, 67%)
CMYKcmyk(71.9%, 35.1%, 0%, 32.9%)
CIE-LABlab(45.55, 0.34, -37.90)
CIE-LCHlch(45.55, 37.90, 270.52°)
OKLaboklab(52.98% -0.0393 -0.1076)
OKLCHoklch(52.98% 0.115 250)
XYZxyz(14.2513, 14.9360, 40.6520)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FAB #AB6C30
analogous
#30ABA9 #306FAB #3032AB
triadic
#306FAB #AB306F #6FAB30
tetradic
#306FAB #A930AB #AB6C30 #32AB30
square
#306FAB #A930AB #AB6C30 #32AB30
split-complementary
#306FAB #AB3032 #ABA930
monochromatic
#15314B #23507B #306FAB #4C8ECD #7BACDA

Accessibility & contrast

On white

5.27
#306FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#306FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FAB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FAB#FFFFFF#000000##FFFFFF
##306FAB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306fab;
/* rgb */ color: rgb(48, 111, 171);
/* oklch */ color: oklch(53.0% 0.115 250.0);
Tailwind
colors: {
  custom: {
    50: '#7898c4',
    500: '#306fab',
    950: '#000000',
  },
}
SCSS
$custom: #306fab;
$custom-light: #7898c4;
$custom-dark: #000000;
JSON
{
  "hex": "#306fab",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 171
  },
  "hsl": {
    "h": 209.268,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.11458,
    "h": 250
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#306FAB
secondary
#C39A74
accent
#9248DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306FAB

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

Preview Lab → · Contrast checker → · Palette generator →

#306FAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva