#238CB2#238CB2

#238CB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.107 H 227.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#238CB2
RGBrgb(35, 140, 178)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 70%)
CMYKcmyk(80.3%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.37, -15.64, -28.16)
CIE-LCHlch(54.37, 32.21, 240.95°)
OKLaboklab(60% -0.0716 -0.0792)
OKLCHoklch(60% 0.107 227.9)
XYZxyz(18.1038, 22.3256, 45.4660)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CB2 #B24923
analogous
#23B291 #238CB2 #2345B2
triadic
#238CB2 #B2238C #8CB223
tetradic
#238CB2 #9123B2 #B24923 #45B223
square
#238CB2 #9123B2 #B24923 #45B223
split-complementary
#238CB2 #B22345 #B29123
monochromatic
#0F3C4C #19647F #238CB2 #3AAED8 #6DC3E2

Accessibility & contrast

On white

3.84
#238CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#238CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CB2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CB2#FFFFFF#000000##000000
##238CB21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238cb2;
/* rgb */ color: rgb(35, 140, 178);
/* oklch */ color: oklch(60.0% 0.107 227.9);
Tailwind
colors: {
  custom: {
    50: '#76adc9',
    500: '#238cb2',
    950: '#000000',
  },
}
SCSS
$custom: #238cb2;
$custom-light: #76adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#238cb2",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 195.944,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.10677,
    "h": 227.9
  },
  "luminance": 0.22328
}

Semantic roles & 50–950 ramp

primary
#238CB2
secondary
#C98268
accent
#6C3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238CB2

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

Preview Lab → · Contrast checker → · Palette generator →

#238CB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva