#233C7E#233C7E

#233C7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.116 H 265.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#233C7E
RGBrgb(35, 60, 126)
HSLhsl(224, 57%, 32%)
HSVhsv(224, 72%, 49%)
CMYKcmyk(72.2%, 52.4%, 0%, 50.6%)
CIE-LABlab(27.00, 14.54, -40.30)
CIE-LCHlch(27.00, 42.84, 289.84°)
OKLaboklab(37.59% -0.0091 -0.1157)
OKLCHoklch(37.59% 0.116 265.5)
XYZxyz(6.0736, 5.0948, 20.3979)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C7E #7E6523
analogous
#236A7E #233C7E #37237E
triadic
#233C7E #7E233C #3C7E23
tetradic
#233C7E #7E236A #7E6523 #237E37
square
#233C7E #7E236A #7E6523 #237E37
split-complementary
#233C7E #7E3723 #6A7E23
monochromatic
#080E1E #16254E #233C7E #3053AE #4E71CE

Accessibility & contrast

On white

10.40
#233C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C7E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C7E#FFFFFF#000000##FFFFFF
##233C7E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233c7e;
/* rgb */ color: rgb(35, 60, 126);
/* oklch */ color: oklch(37.6% 0.116 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a71a4',
    500: '#233c7e',
    950: '#000000',
  },
}
SCSS
$custom: #233c7e;
$custom-light: #6a71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#233c7e",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 223.516,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.11607,
    "h": 265.5
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#233C7E
secondary
#B0954C
accent
#B648E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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