#238EB2#238EB2

#238EB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.106 H 226.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#238EB2
RGBrgb(35, 142, 178)
HSLhsl(195, 67%, 42%)
HSVhsv(195, 80%, 70%)
CMYKcmyk(80.3%, 20.2%, 0%, 30.2%)
CIE-LABlab(54.99, -16.73, -27.21)
CIE-LCHlch(54.99, 31.94, 238.41°)
OKLaboklab(60.49% -0.0736 -0.0764)
OKLCHoklch(60.49% 0.106 226.1)
XYZxyz(18.3987, 22.9154, 45.5643)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EB2 #B24723
analogous
#23B28F #238EB2 #2347B2
triadic
#238EB2 #B2238E #8EB223
tetradic
#238EB2 #8F23B2 #B24723 #47B223
square
#238EB2 #8F23B2 #B24723 #47B223
split-complementary
#238EB2 #B22347 #B28F23
monochromatic
#0F3C4C #19657F #238EB2 #3AB0D8 #6DC5E2

Accessibility & contrast

On white

3.76
#238EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#238EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EB2#FFFFFF#000000##000000
##238EB21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #238eb2;
/* rgb */ color: rgb(35, 142, 178);
/* oklch */ color: oklch(60.5% 0.106 226.1);
Tailwind
colors: {
  custom: {
    50: '#76afc9',
    500: '#238eb2',
    950: '#000000',
  },
}
SCSS
$custom: #238eb2;
$custom-light: #76afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#238eb2",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 195.105,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.10607,
    "h": 226.1
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#238EB2
secondary
#C98068
accent
#693EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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