#234793#234793

#234793 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.132 H 262.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#234793
RGBrgb(35, 71, 147)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 76%, 58%)
CMYKcmyk(76.2%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.74, 15.27, -45.65)
CIE-LCHlch(31.74, 48.13, 288.49°)
OKLaboklab(41.68% -0.0163 -0.1313)
OKLCHoklch(41.68% 0.132 262.9)
XYZxyz(8.2110, 6.9695, 28.5106)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234793 #936F23
analogous
#237F93 #234793 #372393
triadic
#234793 #932347 #479323
tetradic
#234793 #93237F #936F23 #239337
square
#234793 #93237F #936F23 #239337
split-complementary
#234793 #933723 #7F9323
monochromatic
#0B1730 #172F62 #234793 #2F5FC4 #5982D7

Accessibility & contrast

On white

8.77
#234793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#234793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234793
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234793#FFFFFF#000000##FFFFFF
##2347931.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234793;
/* rgb */ color: rgb(35, 71, 147);
/* oklch */ color: oklch(41.7% 0.132 262.9);
Tailwind
colors: {
  custom: {
    50: '#6f79b3',
    500: '#234793',
    950: '#000000',
  },
}
SCSS
$custom: #234793;
$custom-light: #6f79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#234793",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 220.714,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41677,
    "c": 0.13227,
    "h": 262.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#234793
secondary
#BC9B56
accent
#B143E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234793

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

Preview Lab → · Contrast checker → · Palette generator →

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