#243157#243157

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

Color values

HEX#243157
RGBrgb(36, 49, 87)
HSLhsl(225, 41%, 24%)
HSVhsv(225, 59%, 34%)
CMYKcmyk(58.6%, 43.7%, 0%, 65.9%)
CIE-LABlab(21.05, 7.35, -24.68)
CIE-LCHlch(21.05, 25.75, 286.57°)
OKLaboklab(32.2% -0.0023 -0.07)
OKLCHoklch(32.2% 0.07 268.1)
XYZxyz(3.5456, 3.2596, 9.4573)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243157 #574A24
analogous
#244B57 #243157 #312457
triadic
#243157 #572431 #315724
tetradic
#243157 #57244B #574A24 #245731
square
#243157 #57244B #574A24 #245731
split-complementary
#243157 #573124 #4B5724
monochromatic
#090C16 #12192C #243157 #364982 #4862AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##243157#FFFFFF#000000##FFFFFF
##2431571.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)
#213558
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#09393F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #243157;
/* rgb */ color: rgb(36, 49, 87);
/* oklch */ color: oklch(32.2% 0.070 268.1);
Tailwind
colors: {
  custom: {
    50: '#636886',
    500: '#243157',
    950: '#000000',
  },
}
SCSS
$custom: #243157;
$custom-light: #636886;
$custom-dark: #000000;
JSON
{
  "hex": "#243157",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 224.706,
    "s": 41.463,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32202,
    "c": 0.07003,
    "h": 268.1
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#243157
secondary
#8B7B4C
accent
#B257D1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #243157

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

Preview Lab → · Contrast checker → · Palette generator →

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