#235097#235097

#235097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.127 H 259.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#235097
RGBrgb(35, 80, 151)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 77%, 59%)
CMYKcmyk(76.8%, 47%, 0%, 40.8%)
CIE-LABlab(34.66, 10.77, -43.37)
CIE-LCHlch(34.66, 44.69, 283.95°)
OKLaboklab(44% -0.0235 -0.1244)
OKLCHoklch(44% 0.127 259.3)
XYZxyz(9.1457, 8.3280, 30.3976)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235097 #976A23
analogous
#238A97 #235097 #302397
triadic
#235097 #972350 #509723
tetradic
#235097 #97238A #976A23 #239730
square
#235097 #97238A #976A23 #239730
split-complementary
#235097 #973023 #8A9723
monochromatic
#0C1B34 #173665 #235097 #2F6AC9 #5B8CD9

Accessibility & contrast

On white

7.88
#235097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#235097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235097
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235097#FFFFFF#000000##FFFFFF
##2350971.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #235097;
/* rgb */ color: rgb(35, 80, 151);
/* oklch */ color: oklch(44.0% 0.127 259.3);
Tailwind
colors: {
  custom: {
    50: '#6f80b6',
    500: '#235097',
    950: '#000000',
  },
}
SCSS
$custom: #235097;
$custom-light: #6f80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235097",
  "rgb": {
    "r": 35,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 216.724,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.12661,
    "h": 259.3
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#235097
secondary
#BE9658
accent
#A642E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235097

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

Preview Lab → · Contrast checker → · Palette generator →

#235097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva