#238BB4#238BB4

#238BB4 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.109 H 230.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#238BB4
RGBrgb(35, 139, 180)
HSLhsl(197, 67%, 42%)
HSVhsv(197, 81%, 71%)
CMYKcmyk(80.6%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.15, -14.38, -29.65)
CIE-LCHlch(54.15, 32.95, 244.12°)
OKLaboklab(59.85% -0.07 -0.0835)
OKLCHoklch(59.85% 0.109 230)
XYZxyz(18.1606, 22.1156, 46.4828)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BB4 #B44C23
analogous
#23B495 #238BB4 #2342B4
triadic
#238BB4 #B4238B #8BB423
tetradic
#238BB4 #9523B4 #B44C23 #42B423
square
#238BB4 #9523B4 #B44C23 #42B423
split-complementary
#238BB4 #B42342 #B49523
monochromatic
#0F3C4E #196381 #238BB4 #3BACD9 #6EC2E3

Accessibility & contrast

On white

3.87
#238BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#238BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BB4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BB4#FFFFFF#000000##000000
##238BB41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238bb4;
/* rgb */ color: rgb(35, 139, 180);
/* oklch */ color: oklch(59.8% 0.109 230.0);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#238bb4',
    950: '#000000',
  },
}
SCSS
$custom: #238bb4;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#238bb4",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 196.966,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.1089,
    "h": 230
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#238BB4
secondary
#C98569
accent
#6E3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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