#231965#231965

#231965 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.126 H 280.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#231965
RGBrgb(35, 25, 101)
HSLhsl(248, 60%, 25%)
HSVhsv(248, 75%, 40%)
CMYKcmyk(65.3%, 75.2%, 0%, 60.4%)
CIE-LABlab(15.44, 29.03, -43.03)
CIE-LCHlch(15.44, 51.91, 304.01°)
OKLaboklab(28.36% 0.0233 -0.1241)
OKLCHoklch(28.36% 0.126 280.6)
XYZxyz(3.3890, 1.9919, 12.5153)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231965 #5B6519
analogous
#193565 #231965 #491965
triadic
#231965 #652319 #196523
tetradic
#231965 #651935 #5B6519 #196549
square
#231965 #651935 #5B6519 #196549
split-complementary
#231965 #654919 #356519
monochromatic
#090619 #120D34 #231965 #342596 #4531C7

Accessibility & contrast

On white

15.02
#231965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231965
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231965#FFFFFF#000000##FFFFFF
##2319651.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231965;
/* rgb */ color: rgb(35, 25, 101);
/* oklch */ color: oklch(28.4% 0.126 280.6);
Tailwind
colors: {
  custom: {
    50: '#675792',
    500: '#231965',
    950: '#000000',
  },
}
SCSS
$custom: #231965;
$custom-light: #675792;
$custom-dark: #000000;
JSON
{
  "hex": "#231965",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 247.895,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28361,
    "c": 0.12624,
    "h": 280.6
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#231965
secondary
#8F9B3F
accent
#E344CF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231965

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

Preview Lab → · Contrast checker → · Palette generator →

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