#231C6F#231C6F

#231C6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.136 H 278.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#231C6F
RGBrgb(35, 28, 111)
HSLhsl(245, 60%, 27%)
HSVhsv(245, 75%, 44%)
CMYKcmyk(68.5%, 74.8%, 0%, 56.5%)
CIE-LABlab(17.16, 30.66, -46.76)
CIE-LCHlch(17.16, 55.92, 303.26°)
OKLaboklab(29.9% 0.019 -0.135)
OKLCHoklch(29.9% 0.136 278)
XYZxyz(3.9767, 2.3352, 15.2770)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C6F #686F1C
analogous
#1C3F6F #231C6F #4C1C6F
triadic
#231C6F #6F231C #1C6F23
tetradic
#231C6F #6F1C3F #686F1C #1C6F4C
square
#231C6F #6F1C3F #686F1C #1C6F4C
split-complementary
#231C6F #6F4C1C #3F6F1C
monochromatic
#080618 #14103E #231C6F #3228A0 #4538CD

Accessibility & contrast

On white

14.31
#231C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C6F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C6F#FFFFFF#000000##FFFFFF
##231C6F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231c6f;
/* rgb */ color: rgb(35, 28, 111);
/* oklch */ color: oklch(29.9% 0.136 278.0);
Tailwind
colors: {
  custom: {
    50: '#695999',
    500: '#231c6f',
    950: '#000000',
  },
}
SCSS
$custom: #231c6f;
$custom-light: #695999;
$custom-dark: #000000;
JSON
{
  "hex": "#231c6f",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 245.06,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.13631,
    "h": 278
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#231C6F
secondary
#9BA443
accent
#E345D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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