#232995#232995

#232995 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.172 H 271.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#232995
RGBrgb(35, 41, 149)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 77%, 58%)
CMYKcmyk(76.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.04, 36.09, -59.43)
CIE-LCHlch(24.04, 69.53, 301.27°)
OKLaboklab(36.02% 0.0046 -0.172)
OKLCHoklch(36.02% 0.172 271.5)
XYZxyz(6.9091, 4.1124, 28.8576)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232995 #958F23
analogous
#236295 #232995 #562395
triadic
#232995 #952329 #299523
tetradic
#232995 #952362 #958F23 #239556
square
#232995 #952362 #958F23 #239556
split-complementary
#232995 #955623 #629523
monochromatic
#0C0E32 #171B63 #232995 #2F37C7 #5A61D8

Accessibility & contrast

On white

11.52
#232995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#232995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232995
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232995#FFFFFF#000000##FFFFFF
##2329951.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232995;
/* rgb */ color: rgb(35, 41, 149);
/* oklch */ color: oklch(36.0% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#7163b5',
    500: '#232995',
    950: '#000000',
  },
}
SCSS
$custom: #232995;
$custom-light: #7163b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232995",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 236.842,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.17208,
    "h": 271.5
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#232995
secondary
#BDB757
accent
#DC43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232995

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

Preview Lab → · Contrast checker → · Palette generator →

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