#231875#231875

#231875 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.149 H 277.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#231875
RGBrgb(35, 24, 117)
HSLhsl(247, 66%, 28%)
HSVhsv(247, 79%, 46%)
CMYKcmyk(70.1%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.96, 35.10, -50.96)
CIE-LCHlch(16.96, 61.88, 304.56°)
OKLaboklab(29.96% 0.0202 -0.1472)
OKLCHoklch(29.96% 0.149 277.8)
XYZxyz(4.2296, 2.2946, 17.0462)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231875 #6A7518
analogous
#183B75 #231875 #521875
triadic
#231875 #752318 #187523
tetradic
#231875 #75183B #6A7518 #187552
square
#231875 #75183B #6A7518 #187552
split-complementary
#231875 #755218 #3B7518
monochromatic
#080519 #140E42 #231875 #3222A8 #4632D5

Accessibility & contrast

On white

14.39
#231875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231875
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231875#FFFFFF#000000##FFFFFF
##2318751.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231875;
/* rgb */ color: rgb(35, 24, 117);
/* oklch */ color: oklch(30.0% 0.149 277.8);
Tailwind
colors: {
  custom: {
    50: '#6b579e',
    500: '#231875',
    950: '#000000',
  },
}
SCSS
$custom: #231875;
$custom-light: #6b579e;
$custom-dark: #000000;
JSON
{
  "hex": "#231875",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 247.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29955,
    "c": 0.1486,
    "h": 277.8
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#231875
secondary
#9DAA3F
accent
#E93FD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231875

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

Preview Lab → · Contrast checker → · Palette generator →

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