#235397#235397

#235397 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.7% C 0.123 H 257.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#235397
RGBrgb(35, 83, 151)
HSLhsl(215, 62%, 36%)
HSVhsv(215, 77%, 59%)
CMYKcmyk(76.8%, 45%, 0%, 40.8%)
CIE-LABlab(35.55, 8.78, -41.94)
CIE-LCHlch(35.55, 42.85, 281.82°)
OKLaboklab(44.69% -0.0262 -0.1201)
OKLCHoklch(44.69% 0.123 257.7)
XYZxyz(9.3703, 8.7771, 30.4725)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235397 #976723
analogous
#238D97 #235397 #2D2397
triadic
#235397 #972353 #539723
tetradic
#235397 #97238D #976723 #23972D
square
#235397 #97238D #976723 #23972D
split-complementary
#235397 #972D23 #8D9723
monochromatic
#0C1C34 #173865 #235397 #2F6EC9 #5B8FD9

Accessibility & contrast

On white

7.62
#235397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#235397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235397
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235397#FFFFFF#000000##FFFFFF
##2353971.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235397;
/* rgb */ color: rgb(35, 83, 151);
/* oklch */ color: oklch(44.7% 0.123 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f82b6',
    500: '#235397',
    950: '#000000',
  },
}
SCSS
$custom: #235397;
$custom-light: #6f82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235397",
  "rgb": {
    "r": 35,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 215.172,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.12295,
    "h": 257.7
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#235397
secondary
#BE9458
accent
#A242E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235397

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

Preview Lab → · Contrast checker → · Palette generator →

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