#232E7E#232E7E

#232E7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.135 H 271.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#232E7E
RGBrgb(35, 46, 126)
HSLhsl(233, 57%, 32%)
HSVhsv(233, 72%, 49%)
CMYKcmyk(72.2%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.06, 24.28, -46.70)
CIE-LCHlch(23.06, 52.63, 297.47°)
OKLaboklab(34.63% 0.0033 -0.1347)
OKLCHoklch(34.63% 0.135 271.4)
XYZxyz(5.4348, 3.8171, 20.1850)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E7E #7E7323
analogous
#235C7E #232E7E #46237E
triadic
#232E7E #7E232E #2E7E23
tetradic
#232E7E #7E235C #7E7323 #237E46
square
#232E7E #7E235C #7E7323 #237E46
split-complementary
#232E7E #7E4623 #5C7E23
monochromatic
#080B1E #161D4E #232E7E #303FAE #4E5DCE

Accessibility & contrast

On white

11.91
#232E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E7E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E7E#FFFFFF#000000##FFFFFF
##232E7E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232e7e;
/* rgb */ color: rgb(35, 46, 126);
/* oklch */ color: oklch(34.6% 0.135 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b66a4',
    500: '#232e7e',
    950: '#000000',
  },
}
SCSS
$custom: #232e7e;
$custom-light: #6b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#232e7e",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 232.747,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.13478,
    "h": 271.4
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#232E7E
secondary
#B0A44C
accent
#CD48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #232E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#232E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva