#235399#235399

#235399 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.126 H 258.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#235399
RGBrgb(35, 83, 153)
HSLhsl(216, 63%, 37%)
HSVhsv(216, 77%, 60%)
CMYKcmyk(77.1%, 45.8%, 0%, 40%)
CIE-LABlab(35.68, 9.56, -42.94)
CIE-LCHlch(35.68, 43.99, 282.55°)
OKLaboklab(44.83% -0.0258 -0.1231)
OKLCHoklch(44.83% 0.126 258.2)
XYZxyz(9.5341, 8.8427, 31.3351)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235399 #996923
analogous
#238E99 #235399 #2E2399
triadic
#235399 #992353 #539923
tetradic
#235399 #99238E #996923 #23992E
square
#235399 #99238E #996923 #23992E
split-complementary
#235399 #992E23 #8E9923
monochromatic
#0C1D35 #183867 #235399 #2E6ECB #5D90DA

Accessibility & contrast

On white

7.58
#235399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#235399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235399
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235399#FFFFFF#000000##FFFFFF
##2353991.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#164F98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235399;
/* rgb */ color: rgb(35, 83, 153);
/* oklch */ color: oklch(44.8% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#235399',
    950: '#000000',
  },
}
SCSS
$custom: #235399;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235399",
  "rgb": {
    "r": 35,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 215.593,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.12574,
    "h": 258.2
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#235399
secondary
#BE9559
accent
#A342E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235399

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

Preview Lab → · Contrast checker → · Palette generator →

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