#238EA2#238EA2

#238EA2 is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.8% C 0.096 H 213.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#238EA2
RGBrgb(35, 142, 162)
HSLhsl(189, 64%, 39%)
HSVhsv(189, 78%, 64%)
CMYKcmyk(78.4%, 12.3%, 0%, 36.5%)
CIE-LABlab(54.35, -22.18, -19.00)
CIE-LCHlch(54.35, 29.21, 220.60°)
OKLaboklab(59.77% -0.0799 -0.053)
OKLCHoklch(59.77% 0.096 213.5)
XYZxyz(16.8849, 22.3099, 37.5917)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EA2 #A23723
analogous
#23A276 #238EA2 #234EA2
triadic
#238EA2 #A2238E #8EA223
tetradic
#238EA2 #7623A2 #A23723 #4EA223
square
#238EA2 #7623A2 #A23723 #4EA223
split-complementary
#238EA2 #A2234E #A27623
monochromatic
#0D363D #186270 #238EA2 #30B9D2 #62CADD

Accessibility & contrast

On white

3.84
#238EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#238EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EA2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EA2#FFFFFF#000000##000000
##238EA21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#6E7DA2
Tritanopia (blue-blind)
#009694
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238ea2;
/* rgb */ color: rgb(35, 142, 162);
/* oklch */ color: oklch(59.8% 0.096 213.5);
Tailwind
colors: {
  custom: {
    50: '#74afbd',
    500: '#238ea2',
    950: '#000000',
  },
}
SCSS
$custom: #238ea2;
$custom-light: #74afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#238ea2",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 189.449,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.09593,
    "h": 213.5
  },
  "luminance": 0.22312
}

Semantic roles & 50–950 ramp

primary
#238EA2
secondary
#C26E5E
accent
#5B40E7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #238EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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