#233181#233181

#233181 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.135 H 270.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#233181
RGBrgb(35, 49, 129)
HSLhsl(231, 57%, 32%)
HSVhsv(231, 73%, 51%)
CMYKcmyk(72.9%, 62%, 0%, 49.4%)
CIE-LABlab(24.12, 23.36, -46.85)
CIE-LCHlch(24.12, 52.35, 296.50°)
OKLaboklab(35.5% 0.0008 -0.1352)
OKLCHoklch(35.5% 0.135 270.3)
XYZxyz(5.7525, 4.1384, 21.2602)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233181 #817323
analogous
#236081 #233181 #442381
triadic
#233181 #812331 #318123
tetradic
#233181 #812360 #817323 #238144
square
#233181 #812360 #817323 #238144
split-complementary
#233181 #814423 #608123
monochromatic
#090C21 #161F51 #233181 #3043B1 #4F62CF

Accessibility & contrast

On white

11.49
#233181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#233181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233181
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233181#FFFFFF#000000##FFFFFF
##2331811.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #233181;
/* rgb */ color: rgb(35, 49, 129);
/* oklch */ color: oklch(35.5% 0.135 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#233181',
    950: '#000000',
  },
}
SCSS
$custom: #233181;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#233181",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 231.064,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.13516,
    "h": 270.3
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#233181
secondary
#B3A44D
accent
#CA47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #233181

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

Preview Lab → · Contrast checker → · Palette generator →

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