#238FA2#238FA2

#238FA2 is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.0% C 0.096 H 212.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#238FA2
RGBrgb(35, 143, 162)
HSLhsl(189, 64%, 39%)
HSVhsv(189, 78%, 64%)
CMYKcmyk(78.4%, 11.7%, 0%, 36.5%)
CIE-LABlab(54.67, -22.70, -18.53)
CIE-LCHlch(54.67, 29.30, 219.23°)
OKLaboklab(60.03% -0.0809 -0.0517)
OKLCHoklch(60.03% 0.096 212.5)
XYZxyz(17.0344, 22.6088, 37.6416)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238FA2 #A23623
analogous
#23A275 #238FA2 #234FA2
triadic
#238FA2 #A2238F #8FA223
tetradic
#238FA2 #7523A2 #A23623 #4FA223
square
#238FA2 #7523A2 #A23623 #4FA223
split-complementary
#238FA2 #A2234F #A27523
monochromatic
#0D363D #186370 #238FA2 #30BAD2 #62CBDD

Accessibility & contrast

On white

3.80
#238FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#238FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238FA2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238FA2#FFFFFF#000000##000000
##238FA21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#009795
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #238fa2;
/* rgb */ color: rgb(35, 143, 162);
/* oklch */ color: oklch(60.0% 0.096 212.5);
Tailwind
colors: {
  custom: {
    50: '#74b0bd',
    500: '#238fa2',
    950: '#000000',
  },
}
SCSS
$custom: #238fa2;
$custom-light: #74b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#238fa2",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 188.976,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.09603,
    "h": 212.5
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#238FA2
secondary
#C26D5E
accent
#5940E7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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