#238AB2#238AB2

#238AB2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.108 H 229.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#238AB2
RGBrgb(35, 138, 178)
HSLhsl(197, 67%, 42%)
HSVhsv(197, 80%, 70%)
CMYKcmyk(80.3%, 22.5%, 0%, 30.2%)
CIE-LABlab(53.76, -14.54, -29.11)
CIE-LCHlch(53.76, 32.54, 243.47°)
OKLaboklab(59.51% -0.0697 -0.0819)
OKLCHoklch(59.51% 0.108 229.6)
XYZxyz(17.8142, 21.7464, 45.3694)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AB2 #B24B23
analogous
#23B293 #238AB2 #2343B2
triadic
#238AB2 #B2238A #8AB223
tetradic
#238AB2 #9323B2 #B24B23 #43B223
square
#238AB2 #9323B2 #B24B23 #43B223
split-complementary
#238AB2 #B22343 #B29323
monochromatic
#0F3B4C #19627F #238AB2 #3AACD8 #6DC2E2

Accessibility & contrast

On white

3.93
#238AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#238AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AB2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AB2#FFFFFF#000000##000000
##238AB21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#627BB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ab2;
/* rgb */ color: rgb(35, 138, 178);
/* oklch */ color: oklch(59.5% 0.108 229.6);
Tailwind
colors: {
  custom: {
    50: '#76acc9',
    500: '#238ab2',
    950: '#000000',
  },
}
SCSS
$custom: #238ab2;
$custom-light: #76acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#238ab2",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 196.783,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.10759,
    "h": 229.6
  },
  "luminance": 0.21749
}

Semantic roles & 50–950 ramp

primary
#238AB2
secondary
#C98368
accent
#6E3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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