#238AB3#238AB3

#238AB3 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.108 H 230.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#238AB3
RGBrgb(35, 138, 179)
HSLhsl(197, 67%, 42%)
HSVhsv(197, 80%, 70%)
CMYKcmyk(80.4%, 22.9%, 0%, 29.8%)
CIE-LABlab(53.80, -14.18, -29.62)
CIE-LCHlch(53.80, 32.84, 244.41°)
OKLaboklab(59.56% -0.0694 -0.0834)
OKLCHoklch(59.56% 0.108 230.2)
XYZxyz(17.9150, 21.7867, 45.9001)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AB3 #B34C23
analogous
#23B394 #238AB3 #2342B3
triadic
#238AB3 #B3238A #8AB323
tetradic
#238AB3 #9423B3 #B34C23 #42B323
square
#238AB3 #9423B3 #B34C23 #42B323
split-complementary
#238AB3 #B32342 #B39423
monochromatic
#0F3B4D #196380 #238AB3 #3BACD9 #6EC1E3

Accessibility & contrast

On white

3.92
#238AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#238AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AB3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AB3#FFFFFF#000000##000000
##238AB31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ab3;
/* rgb */ color: rgb(35, 138, 179);
/* oklch */ color: oklch(59.6% 0.108 230.2);
Tailwind
colors: {
  custom: {
    50: '#76acca',
    500: '#238ab3',
    950: '#000000',
  },
}
SCSS
$custom: #238ab3;
$custom-light: #76acca;
$custom-dark: #000000;
JSON
{
  "hex": "#238ab3",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 179
  },
  "hsl": {
    "h": 197.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.10847,
    "h": 230.2
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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