#232866#232866

#232866 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.108 H 274.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#232866
RGBrgb(35, 40, 102)
HSLhsl(236, 49%, 27%)
HSVhsv(236, 66%, 40%)
CMYKcmyk(65.7%, 60.8%, 0%, 60%)
CIE-LABlab(19.37, 19.27, -37.28)
CIE-LCHlch(19.37, 41.97, 297.33°)
OKLaboklab(31.25% 0.0091 -0.1071)
OKLCHoklch(31.25% 0.108 274.8)
XYZxyz(3.8494, 2.8339, 12.9119)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232866 #666123
analogous
#234A66 #232866 #402366
triadic
#232866 #662328 #286623
tetradic
#232866 #66234A #666123 #236640
square
#232866 #66234A #666123 #236640
split-complementary
#232866 #664023 #4A6623
monochromatic
#080917 #131638 #232866 #333A94 #444EBF

Accessibility & contrast

On white

13.40
#232866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232866
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232866#FFFFFF#000000##FFFFFF
##2328661.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232866;
/* rgb */ color: rgb(35, 40, 102);
/* oklch */ color: oklch(31.3% 0.108 274.8);
Tailwind
colors: {
  custom: {
    50: '#666192',
    500: '#232866',
    950: '#000000',
  },
}
SCSS
$custom: #232866;
$custom-light: #666192;
$custom-dark: #000000;
JSON
{
  "hex": "#232866",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 235.522,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3125,
    "c": 0.10753,
    "h": 274.8
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#232866
secondary
#9A944B
accent
#CE4FD8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #232866

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

Preview Lab → · Contrast checker → · Palette generator →

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