#238BB1#238BB1

#238BB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.106 H 228.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#238BB1
RGBrgb(35, 139, 177)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 69%)
CMYKcmyk(80.2%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.02, -15.44, -28.13)
CIE-LCHlch(54.02, 32.09, 241.24°)
OKLaboklab(59.7% -0.0711 -0.0791)
OKLCHoklch(59.7% 0.106 228.1)
XYZxyz(17.8583, 21.9947, 44.8906)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BB1 #B14923
analogous
#23B190 #238BB1 #2344B1
triadic
#238BB1 #B1238B #8BB123
tetradic
#238BB1 #9023B1 #B14923 #44B123
square
#238BB1 #9023B1 #B14923 #44B123
split-complementary
#238BB1 #B12344 #B19023
monochromatic
#0F3B4B #19637E #238BB1 #39ADD8 #6CC3E2

Accessibility & contrast

On white

3.89
#238BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#238BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BB1#FFFFFF#000000##000000
##238BB11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238bb1;
/* rgb */ color: rgb(35, 139, 177);
/* oklch */ color: oklch(59.7% 0.106 228.1);
Tailwind
colors: {
  custom: {
    50: '#76adc8',
    500: '#238bb1',
    950: '#000000',
  },
}
SCSS
$custom: #238bb1;
$custom-light: #76adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#238bb1",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 196.056,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.10632,
    "h": 228.1
  },
  "luminance": 0.21997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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