#233786#233786

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

Color values

HEX#233786
RGBrgb(35, 55, 134)
HSLhsl(228, 59%, 33%)
HSVhsv(228, 74%, 53%)
CMYKcmyk(73.9%, 59%, 0%, 47.5%)
CIE-LABlab(26.19, 21.16, -46.62)
CIE-LCHlch(26.19, 51.20, 294.41°)
OKLaboklab(37.17% -0.004 -0.1344)
OKLCHoklch(37.17% 0.134 268.3)
XYZxyz(6.3609, 4.8103, 23.1429)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233786 #867223
analogous
#236886 #233786 #402386
triadic
#233786 #862337 #378623
tetradic
#233786 #862368 #867223 #238640
square
#233786 #862368 #867223 #238640
split-complementary
#233786 #864023 #688623
monochromatic
#0A0F25 #162355 #233786 #304BB7 #526CD2

Accessibility & contrast

On white

10.70
#233786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233786
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233786#FFFFFF#000000##FFFFFF
##2337861.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233786;
/* rgb */ color: rgb(35, 55, 134);
/* oklch */ color: oklch(37.2% 0.134 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c6daa',
    500: '#233786',
    950: '#000000',
  },
}
SCSS
$custom: #233786;
$custom-light: #6c6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#233786",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 227.879,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37168,
    "c": 0.13446,
    "h": 268.3
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#233786
secondary
#B5A14F
accent
#C246E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233786

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

Preview Lab → · Contrast checker → · Palette generator →

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