#233281#233281

#233281 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.134 H 270.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#233281
RGBrgb(35, 50, 129)
HSLhsl(230, 57%, 32%)
HSVhsv(230, 73%, 51%)
CMYKcmyk(72.9%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.40, 22.67, -46.41)
CIE-LCHlch(24.40, 51.65, 296.04°)
OKLaboklab(35.7% 0 -0.1338)
OKLCHoklch(35.7% 0.134 270)
XYZxyz(5.7948, 4.2229, 21.2743)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233281 #817223
analogous
#236181 #233281 #432381
triadic
#233281 #812332 #328123
tetradic
#233281 #812361 #817223 #238143
square
#233281 #812361 #817223 #238143
split-complementary
#233281 #814323 #618123
monochromatic
#090D21 #161F51 #233281 #3045B1 #4F64CF

Accessibility & contrast

On white

11.38
#233281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#233281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233281
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233281#FFFFFF#000000##FFFFFF
##2332811.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #233281;
/* rgb */ color: rgb(35, 50, 129);
/* oklch */ color: oklch(35.7% 0.134 270.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#233281',
    950: '#000000',
  },
}
SCSS
$custom: #233281;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#233281",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 230.426,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.13385,
    "h": 270
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#233281
secondary
#B3A34D
accent
#C847E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #233281

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

Preview Lab → · Contrast checker → · Palette generator →

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