#307BAB#307BAB

#307BAB is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.104 H 240.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#307BAB
RGBrgb(48, 123, 171)
HSLhsl(203, 56%, 43%)
HSVhsv(203, 72%, 67%)
CMYKcmyk(71.9%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.17, -6.86, -32.20)
CIE-LCHlch(49.17, 32.92, 257.97°)
OKLaboklab(55.84% -0.0513 -0.0909)
OKLCHoklch(55.84% 0.104 240.6)
XYZxyz(15.6497, 17.7328, 41.1182)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307BAB #AB6030
analogous
#30AB9D #307BAB #303DAB
triadic
#307BAB #AB307B #7BAB30
tetradic
#307BAB #9D30AB #AB6030 #3DAB30
square
#307BAB #9D30AB #AB6030 #3DAB30
split-complementary
#307BAB #AB303D #AB9D30
monochromatic
#15364B #23597B #307BAB #4C9ACD #7BB5DA

Accessibility & contrast

On white

4.62
#307BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#307BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #307BAB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307BAB#FFFFFF#000000##FFFFFF
##307BAB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #307bab;
/* rgb */ color: rgb(48, 123, 171);
/* oklch */ color: oklch(55.8% 0.104 240.6);
Tailwind
colors: {
  custom: {
    50: '#78a1c4',
    500: '#307bab',
    950: '#000000',
  },
}
SCSS
$custom: #307bab;
$custom-light: #78a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#307bab",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 203.415,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.10436,
    "h": 240.6
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#307BAB
secondary
#C39374
accent
#8348DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #307BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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