#231A68#231A68

#231A68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.129 H 279.8°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#231A68
RGBrgb(35, 26, 104)
HSLhsl(247, 60%, 25%)
HSVhsv(247, 75%, 41%)
CMYKcmyk(66.3%, 75%, 0%, 59.2%)
CIE-LABlab(15.98, 29.45, -44.12)
CIE-LCHlch(15.98, 53.05, 303.72°)
OKLaboklab(28.84% 0.0219 -0.1273)
OKLCHoklch(28.84% 0.129 279.8)
XYZxyz(3.5604, 2.0953, 13.3108)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A68 #5F681A
analogous
#1A3868 #231A68 #4A1A68
triadic
#231A68 #68231A #1A6823
tetradic
#231A68 #681A38 #5F681A #1A684A
square
#231A68 #681A38 #5F681A #1A684A
split-complementary
#231A68 #684A1A #38681A
monochromatic
#080618 #130E37 #231A68 #332699 #4432CA

Accessibility & contrast

On white

14.80
#231A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A68
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A68#FFFFFF#000000##FFFFFF
##231A681.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231a68;
/* rgb */ color: rgb(35, 26, 104);
/* oklch */ color: oklch(28.8% 0.129 279.8);
Tailwind
colors: {
  custom: {
    50: '#685894',
    500: '#231a68',
    950: '#000000',
  },
}
SCSS
$custom: #231a68;
$custom-light: #685894;
$custom-dark: #000000;
JSON
{
  "hex": "#231a68",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 246.923,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28837,
    "c": 0.12915,
    "h": 279.8
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#231A68
secondary
#939D40
accent
#E345D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231A68

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

Preview Lab → · Contrast checker → · Palette generator →

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