#233170#233170

#233170 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.110 H 270.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#233170
RGBrgb(35, 49, 112)
HSLhsl(229, 52%, 29%)
HSVhsv(229, 69%, 44%)
CMYKcmyk(68.8%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.74, 16.76, -38.31)
CIE-LCHlch(22.74, 41.81, 293.63°)
OKLaboklab(34.03% 0.0003 -0.11)
OKLCHoklch(34.03% 0.11 270.1)
XYZxyz(4.7151, 3.7234, 15.7963)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233170 #706223
analogous
#235870 #233170 #3C2370
triadic
#233170 #702331 #317023
tetradic
#233170 #702358 #706223 #23703C
square
#233170 #702358 #706223 #23703C
split-complementary
#233170 #703C23 #587023
monochromatic
#070A17 #141D41 #233170 #32459F #485FC6

Accessibility & contrast

On white

12.04
#233170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#233170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233170
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233170#FFFFFF#000000##FFFFFF
##2331701.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063A72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #233170;
/* rgb */ color: rgb(35, 49, 112);
/* oklch */ color: oklch(34.0% 0.110 270.1);
Tailwind
colors: {
  custom: {
    50: '#68689a',
    500: '#233170',
    950: '#000000',
  },
}
SCSS
$custom: #233170;
$custom-light: #68689a;
$custom-dark: #000000;
JSON
{
  "hex": "#233170",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 229.091,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.11004,
    "h": 270.1
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#233170
secondary
#A3934C
accent
#C24CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233170

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

Preview Lab → · Contrast checker → · Palette generator →

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