#233790#233790

#233790 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.149 H 268.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#233790
RGBrgb(35, 55, 144)
HSLhsl(229, 61%, 35%)
HSVhsv(229, 76%, 56%)
CMYKcmyk(75.7%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.03, 25.04, -51.46)
CIE-LCHlch(27.03, 57.23, 295.95°)
OKLaboklab(38.06% -0.0038 -0.1486)
OKLCHoklch(38.06% 0.149 268.5)
XYZxyz(7.0916, 5.1026, 26.9913)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233790 #907C23
analogous
#236D90 #233790 #462390
triadic
#233790 #902337 #379023
tetradic
#233790 #90236D #907C23 #239046
square
#233790 #90236D #907C23 #239046
split-complementary
#233790 #904623 #6D9023
monochromatic
#0B112E #17245F #233790 #2F4AC1 #576ED6

Accessibility & contrast

On white

10.39
#233790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233790
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233790#FFFFFF#000000##FFFFFF
##2337901.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233790;
/* rgb */ color: rgb(35, 55, 144);
/* oklch */ color: oklch(38.1% 0.149 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f6db1',
    500: '#233790',
    950: '#000000',
  },
}
SCSS
$custom: #233790;
$custom-light: #6f6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#233790",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 228.991,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38055,
    "c": 0.14865,
    "h": 268.5
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#233790
secondary
#BAA854
accent
#C744E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233790

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

Preview Lab → · Contrast checker → · Palette generator →

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