#238BB2#238BB2

#238BB2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.107 H 228.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#238BB2
RGBrgb(35, 139, 178)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 70%)
CMYKcmyk(80.3%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.06, -15.09, -28.63)
CIE-LCHlch(54.06, 32.37, 242.21°)
OKLaboklab(59.75% -0.0707 -0.0805)
OKLCHoklch(59.75% 0.107 228.7)
XYZxyz(17.9583, 22.0347, 45.4175)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BB2 #B24A23
analogous
#23B292 #238BB2 #2343B2
triadic
#238BB2 #B2238B #8BB223
tetradic
#238BB2 #9223B2 #B24A23 #43B223
square
#238BB2 #9223B2 #B24A23 #43B223
split-complementary
#238BB2 #B22343 #B29223
monochromatic
#0F3B4C #19637F #238BB2 #3AADD8 #6DC2E2

Accessibility & contrast

On white

3.88
#238BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#238BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BB2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BB2#FFFFFF#000000##000000
##238BB21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238bb2;
/* rgb */ color: rgb(35, 139, 178);
/* oklch */ color: oklch(59.8% 0.107 228.7);
Tailwind
colors: {
  custom: {
    50: '#76adc9',
    500: '#238bb2',
    950: '#000000',
  },
}
SCSS
$custom: #238bb2;
$custom-light: #76adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#238bb2",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 196.364,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.10717,
    "h": 228.7
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#238BB2
secondary
#C98268
accent
#6D3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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