#307EEA#307EEA

#307EEA is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.3% C 0.180 H 257.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#307EEA
RGBrgb(48, 126, 234)
HSLhsl(215, 82%, 55%)
HSVhsv(215, 79%, 92%)
CMYKcmyk(79.5%, 46.2%, 0%, 8.2%)
CIE-LABlab(53.48, 14.45, -61.23)
CIE-LCHlch(53.48, 62.91, 283.28°)
OKLaboklab(60.33% -0.0385 -0.1759)
OKLCHoklch(60.33% 0.18 257.7)
XYZxyz(23.5256, 21.4878, 80.7336)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307EEA #EA9C30
analogous
#30DBEA #307EEA #3F30EA
triadic
#307EEA #EA307E #7EEA30
tetradic
#307EEA #EA30DB #EA9C30 #30EA3F
square
#307EEA #EA30DB #EA9C30 #30EA3F
split-complementary
#307EEA #EA3F30 #DBEA30
monochromatic
#0F4591 #1460C8 #307EEA #68A1F0 #9FC3F5

Accessibility & contrast

On white

3.96
#307EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#307EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307EEA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307EEA#FFFFFF#000000##000000
##307EEA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#0978E8
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #307eea;
/* rgb */ color: rgb(48, 126, 234);
/* oklch */ color: oklch(60.3% 0.180 257.7);
Tailwind
colors: {
  custom: {
    50: '#84a2f1',
    500: '#307eea',
    950: '#000000',
  },
}
SCSS
$custom: #307eea;
$custom-light: #84a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#307eea",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 214.839,
    "s": 81.579,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.18003,
    "h": 257.7
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#307EEA
secondary
#E2C194
accent
#A430F8
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F17
muted
#7E7E85

Preview Lab

Preview with #307EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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