#2381B2#2381B2

#2381B2 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.3% C 0.113 H 237.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2381B2
RGBrgb(35, 129, 178)
HSLhsl(201, 67%, 42%)
HSVhsv(201, 80%, 70%)
CMYKcmyk(80.3%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.00, -9.45, -33.41)
CIE-LCHlch(51.00, 34.72, 254.21°)
OKLaboklab(57.31% -0.0612 -0.0944)
OKLCHoklch(57.31% 0.113 237)
XYZxyz(16.5761, 19.2702, 44.9567)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2381B2 #B25423
analogous
#23B29B #2381B2 #233AB2
triadic
#2381B2 #B22381 #81B223
tetradic
#2381B2 #9B23B2 #B25423 #3AB223
square
#2381B2 #9B23B2 #B25423 #3AB223
split-complementary
#2381B2 #B2233A #B29B23
monochromatic
#0F374C #195C7F #2381B2 #3AA2D8 #6DBAE2

Accessibility & contrast

On white

4.33
#2381B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2381B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2381B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2381B2#FFFFFF#000000##000000
##2381B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B4
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#008E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2381b2;
/* rgb */ color: rgb(35, 129, 178);
/* oklch */ color: oklch(57.3% 0.113 237.0);
Tailwind
colors: {
  custom: {
    50: '#75a5c9',
    500: '#2381b2',
    950: '#000000',
  },
}
SCSS
$custom: #2381b2;
$custom-light: #75a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2381b2",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 200.559,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.11255,
    "h": 237
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#2381B2
secondary
#C98968
accent
#793EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2381B2

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

Preview Lab → · Contrast checker → · Palette generator →

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