#231F63#231F63

#231F63 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.2% C 0.116 H 279.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#231F63
RGBrgb(35, 31, 99)
HSLhsl(244, 52%, 25%)
HSVhsv(244, 69%, 39%)
CMYKcmyk(64.6%, 68.7%, 0%, 61.2%)
CIE-LABlab(16.69, 24.40, -39.67)
CIE-LCHlch(16.69, 46.57, 301.60°)
OKLaboklab(29.2% 0.0183 -0.1142)
OKLCHoklch(29.2% 0.116 279.1)
XYZxyz(3.4345, 2.2379, 12.0529)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F63 #5F631F
analogous
#1F3D63 #231F63 #451F63
triadic
#231F63 #63231F #1F6323
tetradic
#231F63 #631F3D #5F631F #1F6345
square
#231F63 #631F3D #5F631F #1F6345
split-complementary
#231F63 #63451F #3D631F
monochromatic
#080717 #131034 #231F63 #332E92 #443CC0

Accessibility & contrast

On white

14.51
#231F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F63
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F63#FFFFFF#000000##FFFFFF
##231F631.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231f63;
/* rgb */ color: rgb(35, 31, 99);
/* oklch */ color: oklch(29.2% 0.116 279.1);
Tailwind
colors: {
  custom: {
    50: '#665b90',
    500: '#231f63',
    950: '#000000',
  },
}
SCSS
$custom: #231f63;
$custom-light: #665b90;
$custom-dark: #000000;
JSON
{
  "hex": "#231f63",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 243.529,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29197,
    "c": 0.11567,
    "h": 279.1
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#231F63
secondary
#939846
accent
#DC4CD3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #231F63

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

Preview Lab → · Contrast checker → · Palette generator →

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