#237DB2#237DB2

#237DB2 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 240.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#237DB2
RGBrgb(35, 125, 178)
HSLhsl(202, 67%, 42%)
HSVhsv(202, 80%, 70%)
CMYKcmyk(80.3%, 29.8%, 0%, 30.2%)
CIE-LABlab(49.78, -7.12, -35.32)
CIE-LCHlch(49.78, 36.03, 258.60°)
OKLaboklab(56.34% -0.0575 -0.1)
OKLCHoklch(56.34% 0.115 240.1)
XYZxyz(16.0595, 18.2369, 44.7845)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237DB2 #B25823
analogous
#23B2A0 #237DB2 #2335B2
triadic
#237DB2 #B2237D #7DB223
tetradic
#237DB2 #A023B2 #B25823 #35B223
square
#237DB2 #A023B2 #B25823 #35B223
split-complementary
#237DB2 #B22335 #B2A023
monochromatic
#0F354C #19597F #237DB2 #3A9ED8 #6DB7E2

Accessibility & contrast

On white

4.52
#237DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#237DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #237DB2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237DB2#FFFFFF#000000##000000
##237DB21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#5071B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #237db2;
/* rgb */ color: rgb(35, 125, 178);
/* oklch */ color: oklch(56.3% 0.115 240.1);
Tailwind
colors: {
  custom: {
    50: '#75a2c9',
    500: '#237db2',
    950: '#000000',
  },
}
SCSS
$custom: #237db2;
$custom-light: #75a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#237db2",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 202.238,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.1154,
    "h": 240.1
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#237DB2
secondary
#C98C68
accent
#7E3EEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #237DB2

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

Preview Lab → · Contrast checker → · Palette generator →

#237DB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva