#235297#235297

#235297 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.124 H 258.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#235297
RGBrgb(35, 82, 151)
HSLhsl(216, 62%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(76.8%, 45.7%, 0%, 40.8%)
CIE-LABlab(35.25, 9.44, -42.42)
CIE-LCHlch(35.25, 43.46, 282.54°)
OKLaboklab(44.46% -0.0253 -0.1215)
OKLCHoklch(44.46% 0.124 258.2)
XYZxyz(9.2943, 8.6252, 30.4472)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235297 #976823
analogous
#238C97 #235297 #2E2397
triadic
#235297 #972352 #529723
tetradic
#235297 #97238C #976823 #23972E
square
#235297 #97238C #976823 #23972E
split-complementary
#235297 #972E23 #8C9723
monochromatic
#0C1C34 #173765 #235297 #2F6DC9 #5B8ED9

Accessibility & contrast

On white

7.71
#235297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#235297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235297
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235297#FFFFFF#000000##FFFFFF
##2352971.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235297;
/* rgb */ color: rgb(35, 82, 151);
/* oklch */ color: oklch(44.5% 0.124 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b6',
    500: '#235297',
    950: '#000000',
  },
}
SCSS
$custom: #235297;
$custom-light: #6f82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235297",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 215.69,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.12415,
    "h": 258.2
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#235297
secondary
#BE9558
accent
#A342E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235297

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

Preview Lab → · Contrast checker → · Palette generator →

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