#233C85#233C85

#233C85 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.126 H 266.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#233C85
RGBrgb(35, 60, 133)
HSLhsl(225, 58%, 33%)
HSVhsv(225, 74%, 52%)
CMYKcmyk(73.7%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.52, 17.30, -43.83)
CIE-LCHlch(27.52, 47.12, 291.54°)
OKLaboklab(38.15% -0.0083 -0.1261)
OKLCHoklch(38.15% 0.126 266.2)
XYZxyz(6.5412, 5.2818, 22.8605)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C85 #856C23
analogous
#236D85 #233C85 #3B2385
triadic
#233C85 #85233C #3C8523
tetradic
#233C85 #85236D #856C23 #23853B
square
#233C85 #85236D #856C23 #23853B
split-complementary
#233C85 #853B23 #6D8523
monochromatic
#091024 #162655 #233C85 #3052B5 #5172D1

Accessibility & contrast

On white

10.21
#233C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C85
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C85#FFFFFF#000000##FFFFFF
##233C851.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233c85;
/* rgb */ color: rgb(35, 60, 133);
/* oklch */ color: oklch(38.1% 0.126 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c71a9',
    500: '#233c85',
    950: '#000000',
  },
}
SCSS
$custom: #233c85;
$custom-light: #6c71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#233c85",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 224.694,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38148,
    "c": 0.1264,
    "h": 266.2
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#233C85
secondary
#B59B4F
accent
#BA46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #233C85

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

Preview Lab → · Contrast checker → · Palette generator →

#233C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva