#307FAB#307FAB

#307FAB is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.102 H 237.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#307FAB
RGBrgb(48, 127, 171)
HSLhsl(201, 56%, 43%)
HSVhsv(201, 72%, 67%)
CMYKcmyk(71.9%, 25.7%, 0%, 32.9%)
CIE-LABlab(50.39, -9.18, -30.30)
CIE-LCHlch(50.39, 31.66, 253.14°)
OKLaboklab(56.81% -0.0553 -0.0853)
OKLCHoklch(56.81% 0.102 237)
XYZxyz(16.1561, 18.7456, 41.2870)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FAB #AB5C30
analogous
#30AB99 #307FAB #3042AB
triadic
#307FAB #AB307F #7FAB30
tetradic
#307FAB #9930AB #AB5C30 #42AB30
square
#307FAB #9930AB #AB5C30 #42AB30
split-complementary
#307FAB #AB3042 #AB9930
monochromatic
#15384B #235C7B #307FAB #4C9ECD #7BB8DA

Accessibility & contrast

On white

4.42
#307FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#307FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FAB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FAB#FFFFFF#000000##000000
##307FAB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAD
Deuteranopia (green-blind)
#5973AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #307fab;
/* rgb */ color: rgb(48, 127, 171);
/* oklch */ color: oklch(56.8% 0.102 237.0);
Tailwind
colors: {
  custom: {
    50: '#78a4c4',
    500: '#307fab',
    950: '#000000',
  },
}
SCSS
$custom: #307fab;
$custom-light: #78a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#307fab",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 201.463,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.10172,
    "h": 237
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#307FAB
secondary
#C39074
accent
#7E48DF
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #307FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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