#235096#235096

#235096 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.125 H 259.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#235096
RGBrgb(35, 80, 150)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 77%, 59%)
CMYKcmyk(76.7%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.59, 10.38, -42.87)
CIE-LCHlch(34.59, 44.11, 283.61°)
OKLaboklab(43.93% -0.0237 -0.1229)
OKLCHoklch(43.93% 0.125 259.1)
XYZxyz(9.0648, 8.2956, 29.9717)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235096 #966923
analogous
#238A96 #235096 #302396
triadic
#235096 #962350 #509623
tetradic
#235096 #96238A #966923 #239630
square
#235096 #96238A #966923 #239630
split-complementary
#235096 #963023 #8A9623
monochromatic
#0C1B33 #173664 #235096 #2F6AC8 #5B8CD9

Accessibility & contrast

On white

7.90
#235096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#235096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235096
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235096#FFFFFF#000000##FFFFFF
##2350961.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #235096;
/* rgb */ color: rgb(35, 80, 150);
/* oklch */ color: oklch(43.9% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f80b5',
    500: '#235096',
    950: '#000000',
  },
}
SCSS
$custom: #235096;
$custom-light: #6f80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#235096",
  "rgb": {
    "r": 35,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 216.522,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.12519,
    "h": 259.1
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#235096
secondary
#BD9558
accent
#A643E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235096

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

Preview Lab → · Contrast checker → · Palette generator →

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