#233794#233794

#233794 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.154 H 268.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#233794
RGBrgb(35, 55, 148)
HSLhsl(229, 62%, 36%)
HSVhsv(229, 76%, 58%)
CMYKcmyk(76.4%, 62.8%, 0%, 42%)
CIE-LABlab(27.37, 26.58, -53.35)
CIE-LCHlch(27.37, 59.61, 296.48°)
OKLaboklab(38.42% -0.0039 -0.1542)
OKLCHoklch(38.42% 0.154 268.6)
XYZxyz(7.4028, 5.2270, 28.6300)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233794 #948023
analogous
#236F94 #233794 #482394
triadic
#233794 #942337 #379423
tetradic
#233794 #94236F #948023 #239448
square
#233794 #94236F #948023 #239448
split-complementary
#233794 #944823 #6F9423
monochromatic
#0C1231 #172563 #233794 #2F49C5 #5A70D8

Accessibility & contrast

On white

10.27
#233794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233794
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233794#FFFFFF#000000##FFFFFF
##2337941.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233794;
/* rgb */ color: rgb(35, 55, 148);
/* oklch */ color: oklch(38.4% 0.154 268.6);
Tailwind
colors: {
  custom: {
    50: '#706db4',
    500: '#233794',
    950: '#000000',
  },
}
SCSS
$custom: #233794;
$custom-light: #706db4;
$custom-dark: #000000;
JSON
{
  "hex": "#233794",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 229.381,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.15421,
    "h": 268.6
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#233794
secondary
#BCAA57
accent
#C843E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233794

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

Preview Lab → · Contrast checker → · Palette generator →

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