#233158#233158

#233158 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.072 H 267.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#233158
RGBrgb(35, 49, 88)
HSLhsl(224, 43%, 24%)
HSVhsv(224, 60%, 35%)
CMYKcmyk(60.2%, 44.3%, 0%, 65.5%)
CIE-LABlab(21.05, 7.47, -25.36)
CIE-LCHlch(21.05, 26.44, 286.42°)
OKLaboklab(32.2% -0.0033 -0.072)
OKLCHoklch(32.2% 0.072 267.4)
XYZxyz(3.5523, 3.2583, 9.6723)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233158 #584A23
analogous
#234C58 #233158 #302358
triadic
#233158 #582331 #315823
tetradic
#233158 #58234C #584A23 #235830
square
#233158 #58234C #584A23 #235830
split-complementary
#233158 #583023 #4C5823
monochromatic
#090C16 #12192C #233158 #344984 #4662B0

Accessibility & contrast

On white

12.71
#233158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#233158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233158
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233158#FFFFFF#000000##FFFFFF
##2331581.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#1A3057
Tritanopia (blue-blind)
#043A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #233158;
/* rgb */ color: rgb(35, 49, 88);
/* oklch */ color: oklch(32.2% 0.072 267.4);
Tailwind
colors: {
  custom: {
    50: '#636887',
    500: '#233158',
    950: '#000000',
  },
}
SCSS
$custom: #233158;
$custom-light: #636887;
$custom-dark: #000000;
JSON
{
  "hex": "#233158",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 224.151,
    "s": 43.089,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.07206,
    "h": 267.4
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#233158
secondary
#8C7B4B
accent
#B255D3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #233158

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

Preview Lab → · Contrast checker → · Palette generator →

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