#2387B2#2387B2

#2387B2 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.109 H 232.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2387B2
RGBrgb(35, 135, 178)
HSLhsl(198, 67%, 42%)
HSVhsv(198, 80%, 70%)
CMYKcmyk(80.3%, 24.2%, 0%, 30.2%)
CIE-LABlab(52.84, -12.86, -30.54)
CIE-LCHlch(52.84, 33.14, 247.16°)
OKLaboklab(58.77% -0.0669 -0.0861)
OKLCHoklch(58.77% 0.109 232.2)
XYZxyz(17.3897, 20.8975, 45.2279)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2387B2 #B24E23
analogous
#23B296 #2387B2 #2340B2
triadic
#2387B2 #B22387 #87B223
tetradic
#2387B2 #9623B2 #B24E23 #40B223
square
#2387B2 #9623B2 #B24E23 #40B223
split-complementary
#2387B2 #B22340 #B29623
monochromatic
#0F394C #19607F #2387B2 #3AA9D8 #6DBFE2

Accessibility & contrast

On white

4.05
#2387B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2387B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2387B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2387B2#FFFFFF#000000##000000
##2387B21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B4
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2387b2;
/* rgb */ color: rgb(35, 135, 178);
/* oklch */ color: oklch(58.8% 0.109 232.2);
Tailwind
colors: {
  custom: {
    50: '#76aac9',
    500: '#2387b2',
    950: '#000000',
  },
}
SCSS
$custom: #2387b2;
$custom-light: #76aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2387b2",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 198.042,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.10901,
    "h": 232.2
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#2387B2
secondary
#C98568
accent
#723EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2387B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2387B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva