#238CB4#238CB4

#238CB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.108 H 229.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#238CB4
RGBrgb(35, 140, 180)
HSLhsl(197, 67%, 42%)
HSVhsv(197, 81%, 71%)
CMYKcmyk(80.6%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.46, -14.94, -29.17)
CIE-LCHlch(54.46, 32.77, 242.88°)
OKLaboklab(60.09% -0.0709 -0.0821)
OKLCHoklch(60.09% 0.108 229.2)
XYZxyz(18.3061, 22.4065, 46.5312)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CB4 #B44B23
analogous
#23B494 #238CB4 #2343B4
triadic
#238CB4 #B4238C #8CB423
tetradic
#238CB4 #9423B4 #B44B23 #43B423
square
#238CB4 #9423B4 #B44B23 #43B423
split-complementary
#238CB4 #B42343 #B49423
monochromatic
#0F3C4E #196481 #238CB4 #3BADD9 #6EC3E3

Accessibility & contrast

On white

3.83
#238CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#238CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CB4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CB4#FFFFFF#000000##000000
##238CB41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238cb4;
/* rgb */ color: rgb(35, 140, 180);
/* oklch */ color: oklch(60.1% 0.108 229.2);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#238cb4',
    950: '#000000',
  },
}
SCSS
$custom: #238cb4;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#238cb4",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 196.552,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.10847,
    "h": 229.2
  },
  "luminance": 0.22409
}

Semantic roles & 50–950 ramp

primary
#238CB4
secondary
#C98469
accent
#6D3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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