#233271#233271

#233271 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.110 H 269.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#233271
RGBrgb(35, 50, 113)
HSLhsl(228, 53%, 29%)
HSVhsv(228, 69%, 44%)
CMYKcmyk(69%, 55.8%, 0%, 55.7%)
CIE-LABlab(23.10, 16.44, -38.35)
CIE-LCHlch(23.10, 41.73, 293.21°)
OKLaboklab(34.33% -0.0006 -0.1102)
OKLCHoklch(34.33% 0.11 269.7)
XYZxyz(4.8134, 3.8303, 16.1053)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233271 #716223
analogous
#235971 #233271 #3B2371
triadic
#233271 #712332 #327123
tetradic
#233271 #712359 #716223 #23713B
square
#233271 #712359 #716223 #23713B
split-complementary
#233271 #713B23 #597123
monochromatic
#070A17 #151D42 #233271 #3147A0 #4860C6

Accessibility & contrast

On white

11.89
#233271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#233271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233271
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233271#FFFFFF#000000##FFFFFF
##2332711.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #233271;
/* rgb */ color: rgb(35, 50, 113);
/* oklch */ color: oklch(34.3% 0.110 269.7);
Tailwind
colors: {
  custom: {
    50: '#68699a',
    500: '#233271',
    950: '#000000',
  },
}
SCSS
$custom: #233271;
$custom-light: #68699a;
$custom-dark: #000000;
JSON
{
  "hex": "#233271",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 228.462,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34326,
    "c": 0.11016,
    "h": 269.7
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#233271
secondary
#A4934C
accent
#C04CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233271

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

Preview Lab → · Contrast checker → · Palette generator →

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