#232670#232670

#232670 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.125 H 274.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#232670
RGBrgb(35, 38, 112)
HSLhsl(238, 52%, 29%)
HSVhsv(238, 69%, 44%)
CMYKcmyk(68.8%, 66.1%, 0%, 56.1%)
CIE-LABlab(19.69, 24.45, -43.25)
CIE-LCHlch(19.69, 49.69, 299.48°)
OKLaboklab(31.76% 0.0107 -0.1247)
OKLCHoklch(31.76% 0.125 274.9)
XYZxyz(4.3099, 2.9130, 15.6612)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232670 #706D23
analogous
#234D70 #232670 #472370
triadic
#232670 #702326 #267023
tetradic
#232670 #70234D #706D23 #237047
square
#232670 #70234D #706D23 #237047
split-complementary
#232670 #704723 #4D7023
monochromatic
#070817 #141641 #232670 #32369F #484DC6

Accessibility & contrast

On white

13.27
#232670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#232670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232670
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232670#FFFFFF#000000##FFFFFF
##2326701.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232670;
/* rgb */ color: rgb(35, 38, 112);
/* oklch */ color: oklch(31.8% 0.125 274.9);
Tailwind
colors: {
  custom: {
    50: '#69609a',
    500: '#232670',
    950: '#000000',
  },
}
SCSS
$custom: #232670;
$custom-light: #69609a;
$custom-dark: #000000;
JSON
{
  "hex": "#232670",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 237.662,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31762,
    "c": 0.12516,
    "h": 274.9
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#232670
secondary
#A3A04C
accent
#D64CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232670

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

Preview Lab → · Contrast checker → · Palette generator →

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