#232682#232682

#232682 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.150 H 273.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#232682
RGBrgb(35, 38, 130)
HSLhsl(238, 58%, 32%)
HSVhsv(238, 73%, 51%)
CMYKcmyk(73.1%, 70.8%, 0%, 49%)
CIE-LABlab(21.41, 31.13, -51.92)
CIE-LCHlch(21.41, 60.53, 300.94°)
OKLaboklab(33.54% 0.0089 -0.1501)
OKLCHoklch(33.54% 0.15 273.4)
XYZxyz(5.4142, 3.3547, 21.4770)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232682 #827F23
analogous
#235682 #232682 #4F2382
triadic
#232682 #822326 #268223
tetradic
#232682 #822356 #827F23 #23824F
square
#232682 #822356 #827F23 #23824F
split-complementary
#232682 #824F23 #568223
monochromatic
#090A22 #161852 #232682 #3034B2 #5054D0

Accessibility & contrast

On white

12.57
#232682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232682
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232682#FFFFFF#000000##FFFFFF
##2326821.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232682;
/* rgb */ color: rgb(35, 38, 130);
/* oklch */ color: oklch(33.5% 0.150 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d61a7',
    500: '#232682',
    950: '#000000',
  },
}
SCSS
$custom: #232682;
$custom-light: #6d61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#232682",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 238.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33542,
    "c": 0.15034,
    "h": 273.4
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#232682
secondary
#B3B04D
accent
#DC47E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232682

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

Preview Lab → · Contrast checker → · Palette generator →

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