#238CB3#238CB3

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

Color values

HEX#238CB3
RGBrgb(35, 140, 179)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 70%)
CMYKcmyk(80.4%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.41, -15.29, -28.67)
CIE-LCHlch(54.41, 32.49, 241.93°)
OKLaboklab(60.05% -0.0713 -0.0806)
OKLCHoklch(60.05% 0.108 228.5)
XYZxyz(18.2046, 22.3659, 45.9967)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CB3 #B34A23
analogous
#23B392 #238CB3 #2344B3
triadic
#238CB3 #B3238C #8CB323
tetradic
#238CB3 #9223B3 #B34A23 #44B323
square
#238CB3 #9223B3 #B34A23 #44B323
split-complementary
#238CB3 #B32344 #B39223
monochromatic
#0F3C4D #196480 #238CB3 #3BAED9 #6EC3E3

Accessibility & contrast

On white

3.84
#238CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#238CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CB3#FFFFFF#000000##000000
##238CB31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238cb3;
/* rgb */ color: rgb(35, 140, 179);
/* oklch */ color: oklch(60.0% 0.108 228.5);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#238cb3',
    950: '#000000',
  },
}
SCSS
$custom: #238cb3;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#238cb3",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 196.25,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.10761,
    "h": 228.5
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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