#233985#233985

#233985 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.130 H 267.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#233985
RGBrgb(35, 57, 133)
HSLhsl(227, 58%, 33%)
HSVhsv(227, 74%, 52%)
CMYKcmyk(73.7%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.67, 19.38, -45.22)
CIE-LCHlch(26.67, 49.20, 293.20°)
OKLaboklab(37.5% -0.0057 -0.1302)
OKLCHoklch(37.5% 0.13 267.5)
XYZxyz(6.3884, 4.9764, 22.8096)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233985 #856F23
analogous
#236A85 #233985 #3E2385
triadic
#233985 #852339 #398523
tetradic
#233985 #85236A #856F23 #23853E
square
#233985 #85236A #856F23 #23853E
split-complementary
#233985 #853E23 #6A8523
monochromatic
#090F24 #162455 #233985 #304EB5 #516ED1

Accessibility & contrast

On white

10.52
#233985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#233985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233985
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233985#FFFFFF#000000##FFFFFF
##2339851.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233985;
/* rgb */ color: rgb(35, 57, 133);
/* oklch */ color: oklch(37.5% 0.130 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6fa9',
    500: '#233985',
    950: '#000000',
  },
}
SCSS
$custom: #233985;
$custom-light: #6c6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#233985",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 226.531,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37503,
    "c": 0.13038,
    "h": 267.5
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#233985
secondary
#B59E4F
accent
#BF46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233985

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

Preview Lab → · Contrast checker → · Palette generator →

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