#235F8B#235F8B

#235F8B is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.094 H 244.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#235F8B
RGBrgb(35, 95, 139)
HSLhsl(205, 60%, 34%)
HSVhsv(205, 75%, 55%)
CMYKcmyk(74.8%, 31.7%, 0%, 45.5%)
CIE-LABlab(38.56, -3.59, -29.90)
CIE-LCHlch(38.56, 30.12, 263.16°)
OKLaboklab(46.82% -0.041 -0.0847)
OKLCHoklch(46.82% 0.094 244.2)
XYZxyz(9.4438, 10.4048, 25.9317)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F8B #8B4F23
analogous
#238B83 #235F8B #232B8B
triadic
#235F8B #8B235F #5F8B23
tetradic
#235F8B #83238B #8B4F23 #2B8B23
square
#235F8B #83238B #8B4F23 #2B8B23
split-complementary
#235F8B #8B232B #8B8323
monochromatic
#0A1C29 #173E5A #235F8B #2F80BC #549ED4

Accessibility & contrast

On white

6.82
#235F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#235F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235F8B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F8B#FFFFFF#000000##FFFFFF
##235F8B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #235f8b;
/* rgb */ color: rgb(35, 95, 139);
/* oklch */ color: oklch(46.8% 0.094 244.2);
Tailwind
colors: {
  custom: {
    50: '#6d8cad',
    500: '#235f8b',
    950: '#000000',
  },
}
SCSS
$custom: #235f8b;
$custom-light: #6d8cad;
$custom-dark: #000000;
JSON
{
  "hex": "#235f8b",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 205.385,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46823,
    "c": 0.09406,
    "h": 244.2
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#235F8B
secondary
#B87D52
accent
#8845E3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #235F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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