#231E46#231E46

#231E46 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.072 H 286.1°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#231E46
RGBrgb(35, 30, 70)
HSLhsl(248, 40%, 20%)
HSVhsv(248, 57%, 27%)
CMYKcmyk(50%, 57.1%, 0%, 72.5%)
CIE-LABlab(13.99, 14.57, -24.43)
CIE-LCHlch(13.99, 28.45, 300.80°)
OKLaboklab(26.44% 0.02 -0.0694)
OKLCHoklch(26.44% 0.072 286.1)
XYZxyz(2.2626, 1.7280, 6.0075)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E46 #41461E
analogous
#1E2D46 #231E46 #371E46
triadic
#231E46 #46231E #1E4623
tetradic
#231E46 #461E2D #41461E #1E4637
square
#231E46 #461E2D #41461E #1E4637
split-complementary
#231E46 #46371E #2D461E
monochromatic
#0B0915 #0E0C1B #231E46 #383071 #4E439C

Accessibility & contrast

On white

15.61
#231E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E46
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E46#FFFFFF#000000##FFFFFF
##231E461.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#18262E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231e46;
/* rgb */ color: rgb(35, 30, 70);
/* oklch */ color: oklch(26.4% 0.072 286.1);
Tailwind
colors: {
  custom: {
    50: '#61597a',
    500: '#231e46',
    950: '#000000',
  },
}
SCSS
$custom: #231e46;
$custom-light: #61597a;
$custom-dark: #000000;
JSON
{
  "hex": "#231e46",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 247.5,
    "s": 40,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26441,
    "c": 0.07226,
    "h": 286.1
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#231E46
secondary
#747B45
accent
#D058C1
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #231E46

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

Preview Lab → · Contrast checker → · Palette generator →

#231E46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva