#233A7C#233A7C

#233A7C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.116 H 266.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#233A7C
RGBrgb(35, 58, 124)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 49%)
CMYKcmyk(71.8%, 53.2%, 0%, 51.4%)
CIE-LABlab(26.27, 15.14, -40.22)
CIE-LCHlch(26.27, 42.98, 290.63°)
OKLaboklab(36.98% -0.0074 -0.1155)
OKLCHoklch(36.98% 0.116 266.3)
XYZxyz(5.8430, 4.8381, 19.6908)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A7C #7C6523
analogous
#23667C #233A7C #38237C
triadic
#233A7C #7C233A #3A7C23
tetradic
#233A7C #7C2366 #7C6523 #237C38
square
#233A7C #7C2366 #7C6523 #237C38
split-complementary
#233A7C #7C3823 #667C23
monochromatic
#080D1D #16244C #233A7C #3050AC #4D6ECD

Accessibility & contrast

On white

10.67
#233A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#233A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A7C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A7C#FFFFFF#000000##FFFFFF
##233A7C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233a7c;
/* rgb */ color: rgb(35, 58, 124);
/* oklch */ color: oklch(37.0% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6fa2',
    500: '#233a7c',
    950: '#000000',
  },
}
SCSS
$custom: #233a7c;
$custom-light: #6a6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#233a7c",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 224.494,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.11578,
    "h": 266.3
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#233A7C
secondary
#AF954C
accent
#B849DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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