#235F7B#235F7B

#235F7B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.076 H 232.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#235F7B
RGBrgb(35, 95, 123)
HSLhsl(199, 56%, 31%)
HSVhsv(199, 72%, 48%)
CMYKcmyk(71.5%, 22.8%, 0%, 51.8%)
CIE-LABlab(37.79, -9.50, -21.36)
CIE-LCHlch(37.79, 23.38, 246.02°)
OKLaboklab(45.96% -0.0466 -0.0599)
OKLCHoklch(45.96% 0.076 232.1)
XYZxyz(8.3591, 9.9709, 20.2191)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F7B #7B3F23
analogous
#237B6B #235F7B #23337B
triadic
#235F7B #7B235F #5F7B23
tetradic
#235F7B #6B237B #7B3F23 #337B23
square
#235F7B #6B237B #7B3F23 #337B23
split-complementary
#235F7B #7B2333 #7B6B23
monochromatic
#08151C #153A4B #235F7B #3184AB #4CA3CC

Accessibility & contrast

On white

7.01
#235F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#235F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F7B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F7B#FFFFFF#000000##FFFFFF
##235F7B1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#006768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #235f7b;
/* rgb */ color: rgb(35, 95, 123);
/* oklch */ color: oklch(46.0% 0.076 232.1);
Tailwind
colors: {
  custom: {
    50: '#6a8ca1',
    500: '#235f7b',
    950: '#000000',
  },
}
SCSS
$custom: #235f7b;
$custom-light: #6a8ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#235f7b",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 199.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.07595,
    "h": 232.1
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#235F7B
secondary
#AE6B4C
accent
#7949DF
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #235F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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