#238EB4#238EB4

#238EB4 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.108 H 227.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#238EB4
RGBrgb(35, 142, 180)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 81%, 71%)
CMYKcmyk(80.6%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.07, -16.04, -28.22)
CIE-LCHlch(55.07, 32.46, 240.39°)
OKLaboklab(60.58% -0.0728 -0.0793)
OKLCHoklch(60.58% 0.108 227.4)
XYZxyz(18.6010, 22.9963, 46.6295)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EB4 #B44923
analogous
#23B492 #238EB4 #2346B4
triadic
#238EB4 #B4238E #8EB423
tetradic
#238EB4 #9223B4 #B44923 #46B423
square
#238EB4 #9223B4 #B44923 #46B423
split-complementary
#238EB4 #B42346 #B49223
monochromatic
#0F3D4E #196681 #238EB4 #3BB0D9 #6EC4E3

Accessibility & contrast

On white

3.75
#238EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#238EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EB4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EB4#FFFFFF#000000##000000
##238EB41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB6
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #238eb4;
/* rgb */ color: rgb(35, 142, 180);
/* oklch */ color: oklch(60.6% 0.108 227.4);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#238eb4',
    950: '#000000',
  },
}
SCSS
$custom: #238eb4;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#238eb4",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 195.724,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.10768,
    "h": 227.4
  },
  "luminance": 0.22999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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