#233785#233785

#233785 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.133 H 268.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#233785
RGBrgb(35, 55, 133)
HSLhsl(228, 58%, 33%)
HSVhsv(228, 74%, 52%)
CMYKcmyk(73.7%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.11, 20.77, -46.13)
CIE-LCHlch(26.11, 50.59, 294.24°)
OKLaboklab(37.08% -0.004 -0.133)
OKLCHoklch(37.08% 0.133 268.3)
XYZxyz(6.2915, 4.7825, 22.7773)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233785 #857123
analogous
#236885 #233785 #402385
triadic
#233785 #852337 #378523
tetradic
#233785 #852368 #857123 #238540
square
#233785 #852368 #857123 #238540
split-complementary
#233785 #854023 #688523
monochromatic
#090F24 #162355 #233785 #304BB5 #516BD1

Accessibility & contrast

On white

10.73
#233785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#233785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233785
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233785#FFFFFF#000000##FFFFFF
##2337851.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233785;
/* rgb */ color: rgb(35, 55, 133);
/* oklch */ color: oklch(37.1% 0.133 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c6da9',
    500: '#233785',
    950: '#000000',
  },
}
SCSS
$custom: #233785;
$custom-light: #6c6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#233785",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 227.755,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.13302,
    "h": 268.3
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#233785
secondary
#B5A04F
accent
#C246E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233785

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

Preview Lab → · Contrast checker → · Palette generator →

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