#238FB4#238FB4

#238FB4 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.107 H 226.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#238FB4
RGBrgb(35, 143, 180)
HSLhsl(195, 67%, 42%)
HSVhsv(195, 81%, 71%)
CMYKcmyk(80.6%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.38, -16.58, -27.75)
CIE-LCHlch(55.38, 32.32, 239.13°)
OKLaboklab(60.83% -0.0738 -0.0779)
OKLCHoklch(60.83% 0.107 226.6)
XYZxyz(18.7504, 23.2952, 46.6794)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238FB4 #B44823
analogous
#23B490 #238FB4 #2347B4
triadic
#238FB4 #B4238F #8FB423
tetradic
#238FB4 #9023B4 #B44823 #47B423
square
#238FB4 #9023B4 #B44823 #47B423
split-complementary
#238FB4 #B42347 #B49023
monochromatic
#0F3E4E #196681 #238FB4 #3BB1D9 #6EC5E3

Accessibility & contrast

On white

3.71
#238FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#238FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238FB4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238FB4#FFFFFF#000000##000000
##238FB41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB6
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #238fb4;
/* rgb */ color: rgb(35, 143, 180);
/* oklch */ color: oklch(60.8% 0.107 226.6);
Tailwind
colors: {
  custom: {
    50: '#77afca',
    500: '#238fb4',
    950: '#000000',
  },
}
SCSS
$custom: #238fb4;
$custom-light: #77afca;
$custom-dark: #000000;
JSON
{
  "hex": "#238fb4",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 195.31,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.10732,
    "h": 226.6
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#238FB4
secondary
#C98269
accent
#6A3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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