#238DB4#238DB4

#238DB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.108 H 228.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#238DB4
RGBrgb(35, 141, 180)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 81%, 71%)
CMYKcmyk(80.6%, 21.7%, 0%, 29.4%)
CIE-LABlab(54.76, -15.49, -28.70)
CIE-LCHlch(54.76, 32.61, 241.64°)
OKLaboklab(60.34% -0.0719 -0.0807)
OKLCHoklch(60.34% 0.108 228.3)
XYZxyz(18.4528, 22.7001, 46.5802)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238DB4 #B44A23
analogous
#23B493 #238DB4 #2344B4
triadic
#238DB4 #B4238D #8DB423
tetradic
#238DB4 #9323B4 #B44A23 #44B423
square
#238DB4 #9323B4 #B44A23 #44B423
split-complementary
#238DB4 #B42344 #B49323
monochromatic
#0F3D4E #196581 #238DB4 #3BAFD9 #6EC4E3

Accessibility & contrast

On white

3.79
#238DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#238DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238DB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238DB4#FFFFFF#000000##000000
##238DB41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #238db4;
/* rgb */ color: rgb(35, 141, 180);
/* oklch */ color: oklch(60.3% 0.108 228.3);
Tailwind
colors: {
  custom: {
    50: '#76aeca',
    500: '#238db4',
    950: '#000000',
  },
}
SCSS
$custom: #238db4;
$custom-light: #76aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#238db4",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 196.138,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.10806,
    "h": 228.3
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#238DB4
secondary
#C98369
accent
#6C3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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