#234096#234096

#234096 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.146 H 265.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#234096
RGBrgb(35, 64, 150)
HSLhsl(225, 62%, 36%)
HSVhsv(225, 77%, 59%)
CMYKcmyk(76.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.97, 21.23, -50.33)
CIE-LCHlch(29.97, 54.63, 292.87°)
OKLaboklab(40.41% -0.0104 -0.1452)
OKLCHoklch(40.41% 0.146 265.9)
XYZxyz(8.0296, 6.2252, 29.6267)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234096 #967923
analogous
#237A96 #234096 #402396
triadic
#234096 #962340 #409623
tetradic
#234096 #96237A #967923 #239640
square
#234096 #96237A #967923 #239640
split-complementary
#234096 #964023 #7A9623
monochromatic
#0C1633 #172B64 #234096 #2F55C8 #5B7AD9

Accessibility & contrast

On white

9.35
#234096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#234096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234096
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234096#FFFFFF#000000##FFFFFF
##2340961.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234096;
/* rgb */ color: rgb(35, 64, 150);
/* oklch */ color: oklch(40.4% 0.146 265.9);
Tailwind
colors: {
  custom: {
    50: '#7074b6',
    500: '#234096',
    950: '#000000',
  },
}
SCSS
$custom: #234096;
$custom-light: #7074b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234096",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 224.87,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.14555,
    "h": 265.9
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#234096
secondary
#BDA458
accent
#BC43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234096

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

Preview Lab → · Contrast checker → · Palette generator →

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