#233151#233151

#233151 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.061 H 265.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#233151
RGBrgb(35, 49, 81)
HSLhsl(222, 40%, 23%)
HSVhsv(222, 57%, 32%)
CMYKcmyk(56.8%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.63, 4.85, -21.37)
CIE-LCHlch(20.63, 21.92, 282.79°)
OKLaboklab(31.74% -0.005 -0.0603)
OKLCHoklch(31.74% 0.061 265.2)
XYZxyz(3.2762, 3.1478, 8.2179)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233151 #514323
analogous
#234851 #233151 #2C2351
triadic
#233151 #512331 #315123
tetradic
#233151 #512348 #514323 #23512C
square
#233151 #512348 #514323 #23512C
split-complementary
#233151 #512C23 #485123
monochromatic
#090D15 #111726 #233151 #354B7C #4865A6

Accessibility & contrast

On white

12.89
#233151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#233151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233151
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233151#FFFFFF#000000##FFFFFF
##2331511.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#0D383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #233151;
/* rgb */ color: rgb(35, 49, 81);
/* oklch */ color: oklch(31.7% 0.061 265.2);
Tailwind
colors: {
  custom: {
    50: '#616882',
    500: '#233151',
    950: '#000000',
  },
}
SCSS
$custom: #233151;
$custom-light: #616882;
$custom-dark: #000000;
JSON
{
  "hex": "#233151",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 221.739,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31735,
    "c": 0.06055,
    "h": 265.2
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#233151
secondary
#85734B
accent
#AB58D0
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #233151

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

Preview Lab → · Contrast checker → · Palette generator →

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