#307FBA#307FBA

#307FBA is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.6% C 0.119 H 244.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#307FBA
RGBrgb(48, 127, 186)
HSLhsl(206, 59%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(74.2%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.09, -3.85, -37.84)
CIE-LCHlch(51.09, 38.04, 264.20°)
OKLaboklab(57.6% -0.0505 -0.1073)
OKLCHoklch(57.6% 0.119 244.8)
XYZxyz(17.6678, 19.3503, 49.2487)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FBA #BA6B30
analogous
#30BAB0 #307FBA #303ABA
triadic
#307FBA #BA307F #7FBA30
tetradic
#307FBA #B030BA #BA6B30 #3ABA30
square
#307FBA #B030BA #BA6B30 #3ABA30
split-complementary
#307FBA #BA303A #BAB030
monochromatic
#173D59 #235E89 #307FBA #549DD3 #85B9DF

Accessibility & contrast

On white

4.31
#307FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#307FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FBA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FBA#FFFFFF#000000##000000
##307FBA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #307fba;
/* rgb */ color: rgb(48, 127, 186);
/* oklch */ color: oklch(57.6% 0.119 244.8);
Tailwind
colors: {
  custom: {
    50: '#7ba3cf',
    500: '#307fba',
    950: '#000000',
  },
}
SCSS
$custom: #307fba;
$custom-light: #7ba3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#307fba",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 205.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.11855,
    "h": 244.8
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#307FBA
secondary
#C99D7D
accent
#8946E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #307FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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