#238CB1#238CB1

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

Color values

HEX#238CB1
RGBrgb(35, 140, 177)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 69%)
CMYKcmyk(80.2%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.33, -15.99, -27.65)
CIE-LCHlch(54.33, 31.94, 239.96°)
OKLaboklab(59.95% -0.072 -0.0777)
OKLCHoklch(59.95% 0.106 227.2)
XYZxyz(18.0038, 22.2856, 44.9391)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CB1 #B14823
analogous
#23B18F #238CB1 #2345B1
triadic
#238CB1 #B1238C #8CB123
tetradic
#238CB1 #8F23B1 #B14823 #45B123
square
#238CB1 #8F23B1 #B14823 #45B123
split-complementary
#238CB1 #B12345 #B18F23
monochromatic
#0F3B4B #19647E #238CB1 #39AFD8 #6CC3E2

Accessibility & contrast

On white

3.85
#238CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#238CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CB1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CB1#FFFFFF#000000##000000
##238CB11.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238cb1;
/* rgb */ color: rgb(35, 140, 177);
/* oklch */ color: oklch(60.0% 0.106 227.2);
Tailwind
colors: {
  custom: {
    50: '#76adc8',
    500: '#238cb1',
    950: '#000000',
  },
}
SCSS
$custom: #238cb1;
$custom-light: #76adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#238cb1",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 195.634,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.10595,
    "h": 227.2
  },
  "luminance": 0.22288
}

Semantic roles & 50–950 ramp

primary
#238CB1
secondary
#C88168
accent
#6B3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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