#233157#233157

#233157 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.070 H 267.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#233157
RGBrgb(35, 49, 87)
HSLhsl(224, 43%, 24%)
HSVhsv(224, 60%, 34%)
CMYKcmyk(59.8%, 43.7%, 0%, 65.9%)
CIE-LABlab(20.99, 7.10, -24.80)
CIE-LCHlch(20.99, 25.79, 285.97°)
OKLaboklab(32.13% -0.0035 -0.0703)
OKLCHoklch(32.13% 0.07 267.2)
XYZxyz(3.5112, 3.2418, 9.4557)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233157 #574923
analogous
#234B57 #233157 #2F2357
triadic
#233157 #572331 #315723
tetradic
#233157 #57234B #574923 #23572F
square
#233157 #57234B #574923 #23572F
split-complementary
#233157 #572F23 #4B5723
monochromatic
#090C16 #11182B #233157 #354A83 #4662AE

Accessibility & contrast

On white

12.74
#233157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233157
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233157#FFFFFF#000000##FFFFFF
##2331571.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#06393F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #233157;
/* rgb */ color: rgb(35, 49, 87);
/* oklch */ color: oklch(32.1% 0.070 267.2);
Tailwind
colors: {
  custom: {
    50: '#626886',
    500: '#233157',
    950: '#000000',
  },
}
SCSS
$custom: #233157;
$custom-light: #626886;
$custom-dark: #000000;
JSON
{
  "hex": "#233157",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 223.846,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32132,
    "c": 0.07043,
    "h": 267.2
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#233157
secondary
#8B7A4B
accent
#B155D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #233157

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

Preview Lab → · Contrast checker → · Palette generator →

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