#233270#233270

#233270 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.109 H 269.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#233270
RGBrgb(35, 50, 112)
HSLhsl(228, 52%, 29%)
HSVhsv(228, 69%, 44%)
CMYKcmyk(68.8%, 55.4%, 0%, 56.1%)
CIE-LABlab(23.03, 16.05, -37.84)
CIE-LCHlch(23.03, 41.10, 292.99°)
OKLaboklab(34.24% -0.0007 -0.1086)
OKLCHoklch(34.24% 0.109 269.6)
XYZxyz(4.7574, 3.8079, 15.8104)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233270 #706123
analogous
#235970 #233270 #3B2370
triadic
#233270 #702332 #327023
tetradic
#233270 #702359 #706123 #23703B
square
#233270 #702359 #706123 #23703B
split-complementary
#233270 #703B23 #597023
monochromatic
#070A17 #141D41 #233270 #32479F #4860C6

Accessibility & contrast

On white

11.92
#233270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#233270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233270
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233270#FFFFFF#000000##FFFFFF
##2332701.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #233270;
/* rgb */ color: rgb(35, 50, 112);
/* oklch */ color: oklch(34.2% 0.109 269.6);
Tailwind
colors: {
  custom: {
    50: '#68699a',
    500: '#233270',
    950: '#000000',
  },
}
SCSS
$custom: #233270;
$custom-light: #68699a;
$custom-dark: #000000;
JSON
{
  "hex": "#233270",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 228.312,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.10864,
    "h": 269.6
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233270

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

Preview Lab → · Contrast checker → · Palette generator →

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