#233179#233179

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

Color values

HEX#233179
RGBrgb(35, 49, 121)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 47%)
CMYKcmyk(71.1%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.45, 20.27, -42.89)
CIE-LCHlch(23.45, 47.44, 295.29°)
OKLaboklab(34.79% 0.0007 -0.1235)
OKLCHoklch(34.79% 0.124 270.3)
XYZxyz(5.2415, 3.9339, 18.5685)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233179 #796B23
analogous
#235C79 #233179 #402379
triadic
#233179 #792331 #317923
tetradic
#233179 #79235C #796B23 #237940
square
#233179 #79235C #796B23 #237940
split-complementary
#233179 #794023 #5C7923
monochromatic
#080B1A #151E4A #233179 #3144A8 #4B60CB

Accessibility & contrast

On white

11.75
#233179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#233179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233179
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233179#FFFFFF#000000##FFFFFF
##2331791.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #233179;
/* rgb */ color: rgb(35, 49, 121);
/* oklch */ color: oklch(34.8% 0.124 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a0',
    500: '#233179',
    950: '#000000',
  },
}
SCSS
$custom: #233179;
$custom-light: #6a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#233179",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 230.233,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.12352,
    "h": 270.3
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#233179
secondary
#AC9C4C
accent
#C649DE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #233179

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

Preview Lab → · Contrast checker → · Palette generator →

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