#233174#233174

#233174 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.116 H 270.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#233174
RGBrgb(35, 49, 116)
HSLhsl(230, 54%, 30%)
HSVhsv(230, 70%, 45%)
CMYKcmyk(69.8%, 57.8%, 0%, 54.5%)
CIE-LABlab(23.05, 18.32, -40.36)
CIE-LCHlch(23.05, 44.32, 294.41°)
OKLaboklab(34.36% 0.0005 -0.1161)
OKLCHoklch(34.36% 0.116 270.3)
XYZxyz(4.9428, 3.8144, 16.9954)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233174 #746623
analogous
#235974 #233174 #3E2374
triadic
#233174 #742331 #317423
tetradic
#233174 #742359 #746623 #23743E
square
#233174 #742359 #746623 #23743E
split-complementary
#233174 #743E23 #597423
monochromatic
#070A18 #151D45 #233174 #3145A3 #495FC8

Accessibility & contrast

On white

11.91
#233174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#233174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233174
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233174#FFFFFF#000000##FFFFFF
##2331741.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #233174;
/* rgb */ color: rgb(35, 49, 116);
/* oklch */ color: oklch(34.4% 0.116 270.3);
Tailwind
colors: {
  custom: {
    50: '#69689d',
    500: '#233174',
    950: '#000000',
  },
}
SCSS
$custom: #233174;
$custom-light: #69689d;
$custom-dark: #000000;
JSON
{
  "hex": "#233174",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 229.63,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.11608,
    "h": 270.3
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#233174
secondary
#A7974C
accent
#C44BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233174

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

Preview Lab → · Contrast checker → · Palette generator →

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