#233178#233178

#233178 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.122 H 270.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#233178
RGBrgb(35, 49, 120)
HSLhsl(230, 55%, 30%)
HSVhsv(230, 71%, 47%)
CMYKcmyk(70.8%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.37, 19.88, -42.39)
CIE-LCHlch(23.37, 46.82, 295.12°)
OKLaboklab(34.7% 0.0007 -0.122)
OKLCHoklch(34.7% 0.122 270.3)
XYZxyz(5.1805, 3.9095, 18.2473)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233178 #786A23
analogous
#235B78 #233178 #402378
triadic
#233178 #782331 #317823
tetradic
#233178 #78235B #786A23 #237840
square
#233178 #78235B #786A23 #237840
split-complementary
#233178 #784023 #5B7823
monochromatic
#070A19 #151E49 #233178 #3144A7 #4B60CA

Accessibility & contrast

On white

11.78
#233178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#233178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233178
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233178#FFFFFF#000000##FFFFFF
##2331781.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #233178;
/* rgb */ color: rgb(35, 49, 120);
/* oklch */ color: oklch(34.7% 0.122 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a0',
    500: '#233178',
    950: '#000000',
  },
}
SCSS
$custom: #233178;
$custom-light: #6a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#233178",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 230.118,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34702,
    "c": 0.12204,
    "h": 270.3
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#233178
secondary
#AB9B4C
accent
#C64ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #233178

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

Preview Lab → · Contrast checker → · Palette generator →

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