#234796#234796

#234796 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.137 H 263.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#234796
RGBrgb(35, 71, 150)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 77%, 59%)
CMYKcmyk(76.7%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.95, 16.45, -47.12)
CIE-LCHlch(31.95, 49.91, 289.25°)
OKLaboklab(41.91% -0.016 -0.1356)
OKLCHoklch(41.91% 0.137 263.3)
XYZxyz(8.4494, 7.0649, 29.7666)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234796 #967223
analogous
#238196 #234796 #392396
triadic
#234796 #962347 #479623
tetradic
#234796 #962381 #967223 #239639
square
#234796 #962381 #967223 #239639
split-complementary
#234796 #963923 #819623
monochromatic
#0C1833 #173064 #234796 #2F5EC8 #5B82D9

Accessibility & contrast

On white

8.70
#234796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#234796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234796
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234796#FFFFFF#000000##FFFFFF
##2347961.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234796;
/* rgb */ color: rgb(35, 71, 150);
/* oklch */ color: oklch(41.9% 0.137 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f79b5',
    500: '#234796',
    950: '#000000',
  },
}
SCSS
$custom: #234796;
$custom-light: #6f79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#234796",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 221.217,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41911,
    "c": 0.13655,
    "h": 263.3
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#234796
secondary
#BD9D58
accent
#B243E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234796

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

Preview Lab → · Contrast checker → · Palette generator →

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