#233C7B#233C7B

#233C7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.112 H 265.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#233C7B
RGBrgb(35, 60, 123)
HSLhsl(223, 56%, 31%)
HSVhsv(223, 72%, 48%)
CMYKcmyk(71.5%, 51.2%, 0%, 51.8%)
CIE-LABlab(26.79, 13.35, -38.76)
CIE-LCHlch(26.79, 40.99, 289.01°)
OKLaboklab(37.36% -0.0095 -0.1112)
OKLCHoklch(37.36% 0.112 265.1)
XYZxyz(5.8829, 5.0185, 19.3937)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C7B #7B6223
analogous
#23687B #233C7B #36237B
triadic
#233C7B #7B233C #3C7B23
tetradic
#233C7B #7B2368 #7B6223 #237B36
square
#233C7B #7B2368 #7B6223 #237B36
split-complementary
#233C7B #7B3623 #687B23
monochromatic
#080E1C #15254B #233C7B #3153AB #4C71CC

Accessibility & contrast

On white

10.48
#233C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#233C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C7B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C7B#FFFFFF#000000##FFFFFF
##233C7B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233c7b;
/* rgb */ color: rgb(35, 60, 123);
/* oklch */ color: oklch(37.4% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#6971a2',
    500: '#233c7b',
    950: '#000000',
  },
}
SCSS
$custom: #233c7b;
$custom-light: #6971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233c7b",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 222.955,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.11159,
    "h": 265.1
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#233C7B
secondary
#AE924C
accent
#B449DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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