#233F7B#233F7B

#233F7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.108 H 263.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#233F7B
RGBrgb(35, 63, 123)
HSLhsl(221, 56%, 31%)
HSVhsv(221, 72%, 48%)
CMYKcmyk(71.5%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.69, 11.27, -37.31)
CIE-LCHlch(27.69, 38.98, 286.81°)
OKLaboklab(38.04% -0.0124 -0.1069)
OKLCHoklch(38.04% 0.108 263.4)
XYZxyz(6.0445, 5.3418, 19.4476)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F7B #7B5F23
analogous
#236B7B #233F7B #33237B
triadic
#233F7B #7B233F #3F7B23
tetradic
#233F7B #7B236B #7B5F23 #237B33
square
#233F7B #7B236B #7B5F23 #237B33
split-complementary
#233F7B #7B3323 #6B7B23
monochromatic
#080E1C #15274B #233F7B #3157AB #4C75CC

Accessibility & contrast

On white

10.15
#233F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233F7B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F7B#FFFFFF#000000##FFFFFF
##233F7B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#0C3E7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233f7b;
/* rgb */ color: rgb(35, 63, 123);
/* oklch */ color: oklch(38.0% 0.108 263.4);
Tailwind
colors: {
  custom: {
    50: '#6973a2',
    500: '#233f7b',
    950: '#000000',
  },
}
SCSS
$custom: #233f7b;
$custom-light: #6973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233f7b",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 220.909,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.1076,
    "h": 263.4
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#233F7B
secondary
#AE8F4C
accent
#AF49DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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