#235B7D#235B7D

#235B7D is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.0% C 0.080 H 238.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#235B7D
RGBrgb(35, 91, 125)
HSLhsl(203, 56%, 31%)
HSVhsv(203, 72%, 49%)
CMYKcmyk(72%, 27.2%, 0%, 51%)
CIE-LABlab(36.59, -6.35, -24.45)
CIE-LCHlch(36.59, 25.26, 255.45°)
OKLaboklab(45.04% -0.0415 -0.0689)
OKLCHoklch(45.04% 0.08 238.9)
XYZxyz(8.1345, 9.3193, 20.7682)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B7D #7D4523
analogous
#237D72 #235B7D #232E7D
triadic
#235B7D #7D235B #5B7D23
tetradic
#235B7D #72237D #7D4523 #2E7D23
square
#235B7D #72237D #7D4523 #2E7D23
split-complementary
#235B7D #7D232E #7D7223
monochromatic
#08151D #16384D #235B7D #307EAD #4D9DCD

Accessibility & contrast

On white

7.33
#235B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#235B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235B7D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B7D#FFFFFF#000000##FFFFFF
##235B7D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235b7d;
/* rgb */ color: rgb(35, 91, 125);
/* oklch */ color: oklch(45.0% 0.080 238.9);
Tailwind
colors: {
  custom: {
    50: '#6a89a2',
    500: '#235b7d',
    950: '#000000',
  },
}
SCSS
$custom: #235b7d;
$custom-light: #6a89a2;
$custom-dark: #000000;
JSON
{
  "hex": "#235b7d",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 202.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.08043,
    "h": 238.9
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#235B7D
secondary
#AF724C
accent
#8148E0
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #235B7D

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

Preview Lab → · Contrast checker → · Palette generator →

#235B7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva