#231F6E#231F6E

#231F6E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 277.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#231F6E
RGBrgb(35, 31, 110)
HSLhsl(243, 56%, 28%)
HSVhsv(243, 72%, 43%)
CMYKcmyk(68.2%, 71.8%, 0%, 56.9%)
CIE-LABlab(17.75, 28.40, -45.14)
CIE-LCHlch(17.75, 53.33, 302.18°)
OKLaboklab(30.29% 0.0168 -0.1302)
OKLCHoklch(30.29% 0.131 277.4)
XYZxyz(3.9967, 2.4628, 15.0136)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F6E #6A6E1F
analogous
#1F426E #231F6E #4A1F6E
triadic
#231F6E #6E231F #1F6E23
tetradic
#231F6E #6E1F42 #6A6E1F #1F6E4A
square
#231F6E #6E1F42 #6A6E1F #1F6E4A
split-complementary
#231F6E #6E4A1F #426E1F
monochromatic
#080718 #14123E #231F6E #322C9E #463FC9

Accessibility & contrast

On white

14.07
#231F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F6E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F6E#FFFFFF#000000##FFFFFF
##231F6E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231f6e;
/* rgb */ color: rgb(35, 31, 110);
/* oklch */ color: oklch(30.3% 0.131 277.4);
Tailwind
colors: {
  custom: {
    50: '#695b98',
    500: '#231f6e',
    950: '#000000',
  },
}
SCSS
$custom: #231f6e;
$custom-light: #695b98;
$custom-dark: #000000;
JSON
{
  "hex": "#231f6e",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 243.038,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30291,
    "c": 0.13133,
    "h": 277.4
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#231F6E
secondary
#9DA247
accent
#DF48D8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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