#238FB2#238FB2

#238FB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.106 H 225.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#238FB2
RGBrgb(35, 143, 178)
HSLhsl(195, 67%, 42%)
HSVhsv(195, 80%, 70%)
CMYKcmyk(80.3%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.29, -17.28, -26.73)
CIE-LCHlch(55.29, 31.83, 237.12°)
OKLaboklab(60.74% -0.0745 -0.075)
OKLCHoklch(60.74% 0.106 225.2)
XYZxyz(18.5481, 23.2143, 45.6141)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238FB2 #B24623
analogous
#23B28E #238FB2 #2348B2
triadic
#238FB2 #B2238F #8FB223
tetradic
#238FB2 #8E23B2 #B24623 #48B223
square
#238FB2 #8E23B2 #B24623 #48B223
split-complementary
#238FB2 #B22348 #B28E23
monochromatic
#0F3D4C #19667F #238FB2 #3AB2D8 #6DC6E2

Accessibility & contrast

On white

3.72
#238FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#238FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238FB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238FB2#FFFFFF#000000##000000
##238FB21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #238fb2;
/* rgb */ color: rgb(35, 143, 178);
/* oklch */ color: oklch(60.7% 0.106 225.2);
Tailwind
colors: {
  custom: {
    50: '#76b0c9',
    500: '#238fb2',
    950: '#000000',
  },
}
SCSS
$custom: #238fb2;
$custom-light: #76b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#238fb2",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 194.685,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.10576,
    "h": 225.2
  },
  "luminance": 0.23217
}

Semantic roles & 50–950 ramp

primary
#238FB2
secondary
#C98068
accent
#683EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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