#233D8E#233D8E

#233D8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.138 H 266.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#233D8E
RGBrgb(35, 61, 142)
HSLhsl(225, 60%, 35%)
HSVhsv(225, 75%, 56%)
CMYKcmyk(75.4%, 57%, 0%, 44.3%)
CIE-LABlab(28.50, 20.15, -47.82)
CIE-LCHlch(28.50, 51.89, 292.85°)
OKLaboklab(39.11% -0.0085 -0.1378)
OKLCHoklch(39.11% 0.138 266.5)
XYZxyz(7.2427, 5.6470, 26.2942)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8E #8E7423
analogous
#23728E #233D8E #3F238E
triadic
#233D8E #8E233D #3D8E23
tetradic
#233D8E #8E2372 #8E7423 #238E3F
square
#233D8E #8E2372 #8E7423 #238E3F
split-complementary
#233D8E #8E3F23 #728E23
monochromatic
#0B132C #17285D #233D8E #2F52BF #5675D5

Accessibility & contrast

On white

9.86
#233D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#233D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D8E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8E#FFFFFF#000000##FFFFFF
##233D8E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233d8e;
/* rgb */ color: rgb(35, 61, 142);
/* oklch */ color: oklch(39.1% 0.138 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#233d8e',
    950: '#000000',
  },
}
SCSS
$custom: #233d8e;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8e",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 225.421,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.13808,
    "h": 266.5
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#233D8E
secondary
#B9A153
accent
#BD44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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