#233154#233154

#233154 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.066 H 266.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#233154
RGBrgb(35, 49, 84)
HSLhsl(223, 41%, 23%)
HSVhsv(223, 58%, 33%)
CMYKcmyk(58.3%, 41.7%, 0%, 67.1%)
CIE-LABlab(20.80, 5.97, -23.09)
CIE-LCHlch(20.80, 23.85, 284.48°)
OKLaboklab(31.93% -0.0042 -0.0654)
OKLCHoklch(31.93% 0.066 266.3)
XYZxyz(3.3911, 3.1938, 8.8236)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233154 #544623
analogous
#234954 #233154 #2D2354
triadic
#233154 #542331 #315423
tetradic
#233154 #542349 #544623 #23542D
square
#233154 #542349 #544623 #23542D
split-complementary
#233154 #542D23 #495423
monochromatic
#090D16 #111829 #233154 #354A7F #4763AA

Accessibility & contrast

On white

12.81
#233154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#233154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233154
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233154#FFFFFF#000000##FFFFFF
##2331541.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233455
Deuteranopia (green-blind)
#1D3053
Tritanopia (blue-blind)
#0A393E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #233154;
/* rgb */ color: rgb(35, 49, 84);
/* oklch */ color: oklch(31.9% 0.066 266.3);
Tailwind
colors: {
  custom: {
    50: '#626884',
    500: '#233154',
    950: '#000000',
  },
}
SCSS
$custom: #233154;
$custom-light: #626884;
$custom-dark: #000000;
JSON
{
  "hex": "#233154",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 222.857,
    "s": 41.176,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.0655,
    "h": 266.3
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#233154
secondary
#88764B
accent
#AE57D1
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #233154

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

Preview Lab → · Contrast checker → · Palette generator →

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