#2381D4#2381D4

#2381D4 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.152 H 250.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2381D4
RGBrgb(35, 129, 212)
HSLhsl(208, 72%, 48%)
HSVhsv(208, 83%, 83%)
CMYKcmyk(83.5%, 39.2%, 0%, 16.9%)
CIE-LABlab(52.74, 3.18, -50.07)
CIE-LCHlch(52.74, 50.17, 273.64°)
OKLaboklab(59.25% -0.0514 -0.1431)
OKLCHoklch(59.25% 0.152 250.2)
XYZxyz(20.4225, 20.8087, 65.2147)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2381D4 #D47623
analogous
#23D4CE #2381D4 #2328D4
triadic
#2381D4 #D42381 #81D423
tetradic
#2381D4 #CE23D4 #D47623 #28D423
square
#2381D4 #CE23D4 #D47623 #28D423
split-complementary
#2381D4 #D42328 #D4CE23
monochromatic
#12416B #1A619F #2381D4 #529FE2 #86BCEB

Accessibility & contrast

On white

4.07
#2381D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2381D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2381D4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2381D4#FFFFFF#000000##000000
##2381D41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D7
Deuteranopia (green-blind)
#3C77D2
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2381d4;
/* rgb */ color: rgb(35, 129, 212);
/* oklch */ color: oklch(59.2% 0.152 250.2);
Tailwind
colors: {
  custom: {
    50: '#7ca5e2',
    500: '#2381d4',
    950: '#000000',
  },
}
SCSS
$custom: #2381d4;
$custom-light: #7ca5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2381d4",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 212
  },
  "hsl": {
    "h": 208.136,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.15208,
    "h": 250.2
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#2381D4
secondary
#D4A77E
accent
#8E39EE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2381D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2381D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva