#235B9F#235B9F

#235B9F is a mid, vivid cyan. Relative luminance 0.103; OKLCH L 47.1% C 0.125 H 255.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#235B9F
RGBrgb(35, 91, 159)
HSLhsl(213, 64%, 38%)
HSVhsv(213, 78%, 62%)
CMYKcmyk(78%, 42.8%, 0%, 37.6%)
CIE-LABlab(38.45, 6.66, -42.11)
CIE-LCHlch(38.45, 42.63, 278.99°)
OKLaboklab(47.1% -0.0317 -0.1205)
OKLCHoklch(47.1% 0.125 255.3)
XYZxyz(10.6899, 10.3415, 34.2269)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B9F #9F6723
analogous
#23999F #235B9F #29239F
triadic
#235B9F #9F235B #5B9F23
tetradic
#235B9F #9F2399 #9F6723 #239F29
square
#235B9F #9F2399 #9F6723 #239F29
split-complementary
#235B9F #9F2923 #999F23
monochromatic
#0D223B #183E6D #235B9F #2E78D1 #6098DC

Accessibility & contrast

On white

6.84
#235B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#235B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235B9F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B9F#FFFFFF#000000##FFFFFF
##235B9F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A2
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #235b9f;
/* rgb */ color: rgb(35, 91, 159);
/* oklch */ color: oklch(47.1% 0.125 255.3);
Tailwind
colors: {
  custom: {
    50: '#7188bc',
    500: '#235b9f',
    950: '#000000',
  },
}
SCSS
$custom: #235b9f;
$custom-light: #7188bc;
$custom-dark: #000000;
JSON
{
  "hex": "#235b9f",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 159
  },
  "hsl": {
    "h": 212.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.471,
    "c": 0.12458,
    "h": 255.3
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#235B9F
secondary
#C1945D
accent
#9C41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #235B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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