#233F7C#233F7C

#233F7C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.109 H 263.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#233F7C
RGBrgb(35, 63, 124)
HSLhsl(221, 56%, 31%)
HSVhsv(221, 72%, 49%)
CMYKcmyk(71.8%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.76, 11.66, -37.83)
CIE-LCHlch(27.76, 39.59, 287.14°)
OKLaboklab(38.12% -0.0123 -0.1084)
OKLCHoklch(38.12% 0.109 263.5)
XYZxyz(6.1074, 5.3670, 19.7789)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F7C #7C6023
analogous
#236B7C #233F7C #33237C
triadic
#233F7C #7C233F #3F7C23
tetradic
#233F7C #7C236B #7C6023 #237C33
square
#233F7C #7C236B #7C6023 #237C33
split-complementary
#233F7C #7C3323 #6B7C23
monochromatic
#080F1D #16274C #233F7C #3057AC #4D75CD

Accessibility & contrast

On white

10.13
#233F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#233F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F7C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F7C#FFFFFF#000000##FFFFFF
##233F7C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#0A3E7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233f7c;
/* rgb */ color: rgb(35, 63, 124);
/* oklch */ color: oklch(38.1% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a73a2',
    500: '#233f7c',
    950: '#000000',
  },
}
SCSS
$custom: #233f7c;
$custom-light: #6a73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233f7c",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 221.124,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.10909,
    "h": 263.5
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#233F7C
secondary
#AF904C
accent
#B049DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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