#233D7C#233D7C

#233D7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.112 H 264.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#233D7C
RGBrgb(35, 61, 124)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 49%)
CMYKcmyk(71.8%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.16, 13.05, -38.79)
CIE-LCHlch(27.16, 40.93, 288.60°)
OKLaboklab(37.66% -0.0103 -0.1113)
OKLCHoklch(37.66% 0.112 264.7)
XYZxyz(5.9987, 5.1494, 19.7427)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D7C #7C6223
analogous
#23697C #233D7C #35237C
triadic
#233D7C #7C233D #3D7C23
tetradic
#233D7C #7C2369 #7C6223 #237C35
square
#233D7C #7C2369 #7C6223 #237C35
split-complementary
#233D7C #7C3523 #697C23
monochromatic
#080E1D #16264C #233D7C #3054AC #4D72CD

Accessibility & contrast

On white

10.34
#233D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#233D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D7C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D7C#FFFFFF#000000##FFFFFF
##233D7C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233d7c;
/* rgb */ color: rgb(35, 61, 124);
/* oklch */ color: oklch(37.7% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#6a72a2',
    500: '#233d7c',
    950: '#000000',
  },
}
SCSS
$custom: #233d7c;
$custom-light: #6a72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233d7c",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 222.472,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.11175,
    "h": 264.7
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#233D7C
secondary
#AF924C
accent
#B349DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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